instance method
deprecate
Ruby on Rails 3.1.12
Since v3.0.20Signature
deprecate(*method_names)
Declare that a method has been deprecated.
deprecate :foo deprecate :bar => 'message' deprecate :foo, :bar, :baz => 'warning!', :qux => 'gone!'
Parameters
-
method_namesrest
Source
# File activesupport/lib/active_support/core_ext/module/deprecation.rb, line 6
def deprecate(*method_names)
ActiveSupport::Deprecation.deprecate_methods(self, *method_names)
end
Defined in activesupport/lib/active_support/core_ext/module/deprecation.rb line 6
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Module