method
_dasherize
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::XmlMini
_dasherize(key)protected
No documentation available.
# File activesupport/lib/active_support/xml_mini.rb, line 138
def _dasherize(key)
key.gsub(/(?!^[_]*)_(?![_]*$)/, '-')
end