diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-01-04 21:39:34 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-01-05 01:37:36 +0900 |
commit | 24bacb3e956e36414847cb250bbd6c6d9c6cadd7 (patch) | |
tree | 2dccab6df5e55ffc02a613994999b3ce39d05206 /activesupport/lib/active_support/core_ext | |
parent | c1d1c4bca75f455473a3ac70764ab22bbd8bf1aa (diff) | |
download | rails-24bacb3e956e36414847cb250bbd6c6d9c6cadd7.tar.gz rails-24bacb3e956e36414847cb250bbd6c6d9c6cadd7.tar.bz2 rails-24bacb3e956e36414847cb250bbd6c6d9c6cadd7.zip |
There's no such module
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/inflections.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb index 4eabce79e2..7a2fc5c1b5 100644 --- a/activesupport/lib/active_support/core_ext/string/inflections.rb +++ b/activesupport/lib/active_support/core_ext/string/inflections.rb @@ -128,10 +128,10 @@ class String # Removes the module part from the constant expression in the string. # - # 'ActiveRecord::CoreExtensions::String::Inflections'.demodulize # => "Inflections" - # 'Inflections'.demodulize # => "Inflections" - # '::Inflections'.demodulize # => "Inflections" - # ''.demodulize # => '' + # 'ActiveSupport::Inflector::Inflections'.demodulize # => "Inflections" + # 'Inflections'.demodulize # => "Inflections" + # '::Inflections'.demodulize # => "Inflections" + # ''.demodulize # => '' # # See also +deconstantize+. def demodulize |