Optimist::Int32Opt
Inherits Optimist::Option < Reference < Object
Integer number option class.
Constructors
new(name, desc, default : Int32 | Nil, **kwargs)
SourceInstance methods
add_argument_value(paramlist : Array(String), _neg_given)
Sourceadd_argument_value(val : String)
Sourcedefault
Sourcetype_format
Provide type-format string. Default to empty, but should probably be overridden for most subclasses.
value
Sourcevalue=(value : Int32 | Nil)
Source