method
match_nonswitch?
v2_4_6 -
Show latest stable
- Class:
OptionParser::Switch
match_nonswitch?(str)public
No documentation available.
# File lib/optparse.rb, line 613
def match_nonswitch?(str) # :nodoc:
@pattern =~ str unless @short or @long
end