method
undasherize
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Option
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