PicoOptionParser::Option class of PicoRuby
Singleton methods
new
PicoOptionParser::Option.new(Symbol key, Array[String] names, PicoOptionParser::opt_type type, Array[untyped]? choices, untyped default, String? desc, bool help, bool negate) -> void
Attr accessors
key (reader)
instance.key -> Symbol
names (reader)
instance.names -> Array[String]
type (reader)
instance.type -> PicoOptionParser::opt_type
choices (reader)
instance.choices -> Array[untyped]?
default (reader)
instance.default -> untyped
desc (reader)
instance.desc -> String?
help (reader)
instance.help -> bool
negate (reader)
instance.negate -> bool