Skip to content

Commit

Permalink
Merge pull request #6748 from marcandre/dasherize_doc
Browse files Browse the repository at this point in the history
Fix doc example for dasherize
  • Loading branch information
rafaelfranca committed Jun 15, 2012
2 parents 8b35a23 + fce1735 commit d28ba0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d28ba0d

Please sign in to comment.