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