diff options
author | Artyom Bolshakov <artyom@rentini.com> | 2012-04-03 14:20:32 +0400 |
---|---|---|
committer | Artyom Bolshakov <artyom@rentini.com> | 2012-04-03 14:20:32 +0400 |
commit | 5f62e88b3ba14675b76009e112b25ee7a3105cb5 (patch) | |
tree | 19e110533a9d18c0a08b3517ff7394ce583a62fa | |
parent | fff3e75e1cf777f4b444d08c153065ab4264fa2e (diff) | |
download | rails-5f62e88b3ba14675b76009e112b25ee7a3105cb5.tar.gz rails-5f62e88b3ba14675b76009e112b25ee7a3105cb5.tar.bz2 rails-5f62e88b3ba14675b76009e112b25ee7a3105cb5.zip |
Fix typo
-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 |