class Getopt::Declare::StartOpt
Class used to handle the beginning of options
Public Instance Methods
cachecode(a,b)
click to toggle source
Returns how to cache code in class
# File lib/Getopt/Declare.rb, line 96 def cachecode(a,b) '' end
code(*t)
click to toggle source
Returns code used
# File lib/Getopt/Declare.rb, line 91 def code(*t) '' end
matcher(g)
click to toggle source
Returns regex used matching start of options
# File lib/Getopt/Declare.rb, line 86 def matcher(g) '(?:()' end
ows(g)
click to toggle source
Helps build regex that matches parameters of flags
# File lib/Getopt/Declare.rb, line 106 def ows(g) g end
trailer()
click to toggle source
Helps build regex that matches parameters of flags
# File lib/Getopt/Declare.rb, line 101 def trailer nil end