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/inflector/methods.rb | |
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/inflector/methods.rb')
-rw-r--r-- | activesupport/lib/active_support/inflector/methods.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb index 8fea96a82a..8ccb735c6d 100644 --- a/activesupport/lib/active_support/inflector/methods.rb +++ b/activesupport/lib/active_support/inflector/methods.rb @@ -198,10 +198,10 @@ module ActiveSupport # Removes the module part from the expression in the string. # - # demodulize('ActiveRecord::CoreExtensions::String::Inflections') # => "Inflections" - # demodulize('Inflections') # => "Inflections" - # demodulize('::Inflections') # => "Inflections" - # demodulize('') # => "" + # demodulize('ActiveSupport::Inflector::Inflections') # => "Inflections" + # demodulize('Inflections') # => "Inflections" + # demodulize('::Inflections') # => "Inflections" + # demodulize('') # => "" # # See also #deconstantize. def demodulize(path) |