Class: Getopt::Declare::EndOpt

Inherits:
StartOpt
  • Object
show all
Defined in:
lib/Getopt/Declare.rb

Overview

Class used to handle the ending of options

Instance Method Summary collapse

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