Skip to content

Commit e8e2f01

Browse files
Fix typos in deprecation proxy docs [ci skip]
1 parent 2d03a7e commit e8e2f01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activesupport/lib/active_support/deprecation/proxy_wrappers.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def method_missing(called, *args, &block)
2525
end
2626
end
2727

28-
# This DeprecatedObjectProxy transforms object to depracated object.
28+
# This DeprecatedObjectProxy transforms object to deprecated object.
2929
#
3030
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!")
3131
# @old_object = DeprecatedObjectProxy.new(Object.new, "Don't use this object anymore!", deprecator_instance)
@@ -52,7 +52,7 @@ def warn(callstack, called, args)
5252
end
5353

5454
# This DeprecatedInstanceVariableProxy transforms instance variable to
55-
# depracated instance variable.
55+
# deprecated instance variable.
5656
#
5757
# class Example
5858
# def initialize(deprecator)
@@ -93,7 +93,7 @@ def warn(callstack, called, args)
9393
end
9494
end
9595

96-
# This DeprecatedConstantProxy transforms constant to depracated constant.
96+
# This DeprecatedConstantProxy transforms constant to deprecated constant.
9797
#
9898
# OLD_CONST = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('OLD_CONST', 'NEW_CONST')
9999
# OLD_CONST = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('OLD_CONST', 'NEW_CONST', deprecator_instance)

0 commit comments

Comments
 (0)