class Optimist::StringOption
Option
class for handling Strings.
Public Instance Methods
as_type(val)
click to toggle source
# File lib/optimist.rb, line 1065 def as_type(val) ; val.to_s ; end
parse(paramlist, _neg_given)
click to toggle source
# File lib/optimist.rb, line 1067 def parse(paramlist, _neg_given) paramlist.map { |pg| pg.map { |param| as_type(param) } } end
type_format()
click to toggle source
# File lib/optimist.rb, line 1066 def type_format ; "=<s>" ; end