# File lib/active_support/xml_mini.rb, line 138 def _dasherize(key) key.gsub(/(?!^[_]*)_(?![_]*$)/, '-') end