Merge pull request #5713 from bolshakov/master

Fix typo in "dasherize" description
This commit is contained in:
Xavier Noria 2012-04-03 03:28:01 -07:00
commit 0cc6c5fec2
1 changed files with 1 additions and 1 deletions

View File

@ -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