Skip to content
This repository
tag: v3.1.1.rc2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 10 lines (9 sloc) 0.29 kb
1 2 3 4 5 6 7 8 9
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
Something went wrong with that request. Please try again.