提交 fce1735a 编写于 作者: M Marc-Andre Lafortune

Fix doc example for dasherize

上级 8b35a239
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册