diff options
author | Xavier Noria <fxn@hashref.com> | 2012-04-03 03:28:01 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-04-03 03:28:01 -0700 |
commit | 0cc6c5fec235cca6d7eb85d4f849536db8566e93 (patch) | |
tree | 830d08b46697454a9a7df07890f32624cb550580 /activesupport/lib/active_support/inflector | |
parent | a3dc8ba16f7c453ab3b12c2bf476bdf26a9e2a5b (diff) | |
parent | 5f62e88b3ba14675b76009e112b25ee7a3105cb5 (diff) | |
download | rails-0cc6c5fec235cca6d7eb85d4f849536db8566e93.tar.gz rails-0cc6c5fec235cca6d7eb85d4f849536db8566e93.tar.bz2 rails-0cc6c5fec235cca6d7eb85d4f849536db8566e93.zip |
Merge pull request #5713 from bolshakov/master
Fix typo in "dasherize" description
Diffstat (limited to 'activesupport/lib/active_support/inflector')
-rw-r--r-- | activesupport/lib/active_support/inflector/methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb index 4cebad742f..19a6c51516 100644 --- a/activesupport/lib/active_support/inflector/methods.rb +++ b/activesupport/lib/active_support/inflector/methods.rb @@ -146,7 +146,7 @@ module ActiveSupport # Replaces underscores with dashes in the string. # # Example: - # "puni_puni" # => "puni-puni" + # "puni_puni".dasherize # => "puni-puni" def dasherize(underscored_word) underscored_word.tr('_', '-') end |