diff options
Diffstat (limited to 'activesupport/lib/active_support/deprecation.rb')
-rw-r--r-- | activesupport/lib/active_support/deprecation.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index 678cbbcbf2..b3f5fde335 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -7,12 +7,8 @@ require 'active_support/deprecation/proxy_wrappers' require 'singleton' module ActiveSupport - # \Deprecation specifies the API used by Rails to deprecate - # methods, instance variables, objects and constants. - # The API depends on four methods: - # - # * +initialize+ which expects two parameters - # described below; + # \Deprecation specifies the API used by Rails to deprecate methods, instance + # variables, objects and constants. class Deprecation include Singleton include InstanceDelegator @@ -26,8 +22,6 @@ module ActiveSupport # It accepts two parameters on initialization. The first is an version of library # and the second is an library name # - # == Example - # # ActiveSupport::Deprecation.new('2.0', 'MyLibrary') def initialize(deprecation_horizon = '4.1', gem_name = 'Rails') self.gem_name = gem_name |