Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix doc example for dasherize

  • Loading branch information...
commit fce1735a6e62ad8216edd6339c37702d198e1c9e 1 parent 8b35a23
@marcandre marcandre authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.