blob: 5a5b4e3f805f8ac3bc9a8cfe732e3c58615eaa5b (
plain) (
tree)
|
|
class Module
# Declare that a method has been deprecated.
# deprecate :foo
# deprecate :bar => 'message'
# deprecate :foo, :bar, :baz => 'warning!', :qux => 'gone!'
def deprecate(*method_names)
ActiveSupport::Deprecation.deprecate_methods(self, *method_names)
end
end
|