aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector/methods.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-01-04 21:39:34 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-01-05 01:37:36 +0900
commit24bacb3e956e36414847cb250bbd6c6d9c6cadd7 (patch)
tree2dccab6df5e55ffc02a613994999b3ce39d05206 /activesupport/lib/active_support/inflector/methods.rb
parentc1d1c4bca75f455473a3ac70764ab22bbd8bf1aa (diff)
downloadrails-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.rb8
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)