aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-05-24 10:51:38 -0700
committerZachary Scott <e@zzak.io>2015-05-24 10:52:04 -0700
commitc0c90af41a83bcd97eb6dc57933b94996f6c5a47 (patch)
tree6e9011dda73c62db761a562a89d1f9a1b3299e0f /activesupport
parent53592a59595cb01169d6d16e207b1cfd25badd7a (diff)
downloadrails-c0c90af41a83bcd97eb6dc57933b94996f6c5a47.tar.gz
rails-c0c90af41a83bcd97eb6dc57933b94996f6c5a47.tar.bz2
rails-c0c90af41a83bcd97eb6dc57933b94996f6c5a47.zip
s/contstant/constant re #20282 [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/deprecation/proxy_wrappers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
index 3ff4fe95aa..c6d2b5e795 100644
--- a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
+++ b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
@@ -104,7 +104,7 @@ module ActiveSupport
end
# DeprecatedConstantProxy transforms a constant into a deprecated one. It
- # takes the names of an old (deprecated) constant and of a new contstant
+ # takes the names of an old (deprecated) constant and of a new constant
# (both in string form) and optionally a deprecator. The deprecator defaults
# to +ActiveSupport::Deprecator+ if none is specified. The deprecated constant
# now returns the value of the new one.
@@ -127,7 +127,7 @@ module ActiveSupport
@deprecator = deprecator
end
- # Returns class of a new contstant.
+ # Returns class of a new constant.
#
# PLANETS_POST_2006 = %w(mercury venus earth mars jupiter saturn uranus neptune)
# PLANETS = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('PLANETS', 'PLANETS_POST_2006')