Class: Getopt::Declare::EndOpt
- Defined in:
- lib/Getopt/Declare.rb
Overview
Class used to handle the ending of options
Instance Method Summary collapse
-
#matcher(g) ⇒ Object
Returns regex used matching end of options.
Methods inherited from StartOpt
#cachecode, #code, #ows, #trailer
Instance Method Details
#matcher(g) ⇒ Object
Returns regex used matching end of options
116 117 118 |
# File 'lib/Getopt/Declare.rb', line 116 def matcher(g) '())?' end |