Sha256: 4de61252a6187066157021c88d12d3c421dca69a8b4396690cf7403cc04a421b
Contents?: true
Size: 290 Bytes
Versions: 305
Compression:
Stored size: 290 Bytes
Contents
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
Version data entries
305 entries across 261 versions & 28 rubygems