method

dasherize

dasherize(str)
protected

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/parser/option.rb, line 142
    def dasherize(str)
      (str.length > 1 ? "--" : "-") + str.tr("_", "-")
    end