Skip to content
Browse files

Fix doc example for dasherize

  • Loading branch information...
1 parent 8b35a23 commit fce1735a6e62ad8216edd6339c37702d198e1c9e @marcandre marcandre committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/string/inflections.rb
View
2 activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -107,7 +107,7 @@ def underscore
# Replaces underscores with dashes in the string.
#
- # 'puni_puni' # => "puni-puni"
+ # 'puni_puni'.dasherize # => "puni-puni"
def dasherize
ActiveSupport::Inflector.dasherize(self)
end

0 comments on commit fce1735

Please sign in to comment.
Something went wrong with that request. Please try again.