Sha256: 5b93143094af226a2dcf3ea7e4aeded631f9586616dd26e9c97b22e8b80714f8

Contents?: true

Size: 328 Bytes

Versions: 20

Compression:

Stored size: 328 Bytes

Contents

require 'active_support/deprecation'

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

20 entries across 20 versions & 2 rubygems

Version Path
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/deprecation.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.10 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.10.rc1 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.9 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.9.rc5 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.9.rc4 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.9.rc3 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.9.rc1 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.8 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.8.rc4 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.8.rc2 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.8.rc1 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.1.0.beta1 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.7 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.7.rc2 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.7.rc1 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.6 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.6.rc2 lib/active_support/core_ext/module/deprecation.rb
activesupport-3.0.6.rc1 lib/active_support/core_ext/module/deprecation.rb