aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRyan Oblak <rroblak@gmail.com>2011-09-23 10:21:34 -0700
committerRyan Oblak <rroblak@gmail.com>2011-09-23 10:21:34 -0700
commit06634f44d0fd106a49d4f7a63bcb1532006e3742 (patch)
tree719f10e3be580544fddae6a311463c20ccf5e1a1 /activesupport
parent5dcb269eb8c8730084734e845534d3b9580c40f4 (diff)
downloadrails-06634f44d0fd106a49d4f7a63bcb1532006e3742.tar.gz
rails-06634f44d0fd106a49d4f7a63bcb1532006e3742.tar.bz2
rails-06634f44d0fd106a49d4f7a63bcb1532006e3742.zip
Minor doc fix to String#constantize
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index b4218cb42c..c7ceeb9de4 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -36,9 +36,9 @@ class String
# or is not initialized. See ActiveSupport::Inflector.constantize
#
# Examples
- # "Module".constantize # => Module
- # "Class".constantize # => Class
- # "blargle".safe_constantize # => NameError: wrong constant name blargle
+ # "Module".constantize # => Module
+ # "Class".constantize # => Class
+ # "blargle".constantize # => NameError: wrong constant name blargle
def constantize
ActiveSupport::Inflector.constantize(self)
end