class

Optimist::StringArrayOpt

Inherits Optimist::Option < Reference < Object

Option class for handling multiple Strings

Constructors

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

Instance methods

add_argument_value(paramlist : Array(String), _neg_given)
Source
default
Source
dup

For object duplication case we need to return an invalidated object so reset the value/given fields which are filled in by the option.

Source
type_format

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

Source
value
Source
value=(value : Array(String))
Source