method
current_is_switch_formatted?
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Options
current_is_switch_formatted?()protected
No documentation available.
# File lib/bundler/vendor/thor/lib/thor/parser/options.rb, line 145
def current_is_switch_formatted?
case peek
when LONG_RE, SHORT_RE, EQ_RE, SHORT_NUM, SHORT_SQ_RE
true
else
false
end
end