1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typos in deprecation proxy docs [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2013-04-30 19:24:41 -03:00
parent 2d03a7edd9
commit e8e2f010af

View file

@ -25,7 +25,7 @@ module ActiveSupport
end
end
# This DeprecatedObjectProxy transforms object to depracated object.
# This DeprecatedObjectProxy transforms object to deprecated object.
#
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!")
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!", deprecator_instance)
@ -52,7 +52,7 @@ module ActiveSupport
end
# This DeprecatedInstanceVariableProxy transforms instance variable to
# depracated instance variable.
# deprecated instance variable.
#
# class Example
# def initialize(deprecator)
@ -93,7 +93,7 @@ module ActiveSupport
end
end
# This DeprecatedConstantProxy transforms constant to depracated constant.
# This DeprecatedConstantProxy transforms constant to deprecated constant.
#
# OLD_CONST = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('OLD_CONST', 'NEW_CONST')
# OLD_CONST = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('OLD_CONST', 'NEW_CONST', deprecator_instance)