HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/Module/deprecate-i.ri
U:RDoc::AnyMethod[iI"deprecate:ETI"Module#deprecate;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Verbatim;	[I"deprecate :foo
;TI"deprecate bar: 'message'
;TI"9deprecate :foo, :bar, baz: 'warning!', qux: 'gone!'
;T:@format0o:RDoc::Markup::Paragraph;	[I"1You can also use custom deprecator instance:;To:RDoc::Markup::BlankLineo;
;	[I"7deprecate :foo, deprecator: MyLib::Deprecator.new
;TI"Hdeprecate :foo, bar: "warning!", deprecator: MyLib::Deprecator.new
;T;0o;;	[I"y\Custom deprecators must respond to <tt>deprecation_warning(deprecated_method_name, message, caller_backtrace)</tt> ;TI"Amethod where you can implement your custom warning behavior.;T@o;
;	[I"class MyLib::Deprecator
;TI"X  def deprecation_warning(deprecated_method_name, message, caller_backtrace = nil)
;TI"m    message = "#{deprecated_method_name} is deprecated and will be removed from MyLibrary | #{message}"
;TI"    Kernel.warn message
;TI"  end
;TI"end;T;0:
@fileI"6lib/active_support/core_ext/module/deprecation.rb;T:0@omit_headings_from_table_of_contents_below000[I"(*method_names);T@$FI"Module;TcRDoc::NormalClass00