method

undasherize

ruby latest stable - Class: Bundler::Thor::Option

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

undasherize(str)
protected

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/parser/option.rb, line 138
    def undasherize(str)
      str.sub(/^-{1,2}/, "")
    end