class

Optimist::StringFlagOpt

Inherits Optimist::Option < Reference < Object

Constructors

new(name, desc, default : String | Nil, **kwargs)
Source

Instance methods

add_argument_value(paramlist : Array(String), neg_given)
Source
default
Source
needs_an_argument

can take an argument but doesnt need one.

Source
type_format

Provide type-format string. Default to empty, but should probably be overridden for most subclasses.

Source
value
Source
value=(value : Bool | String | Nil)
Source