Optimist::FileOpt
Inherits Optimist::Option < Reference < Object
Option class for handling IO objects and URLs. Note that this will return the file-handle, not the file-name in the case of file-paths given to it.
Constructors
new(name, desc, default : IO | Nil, **kwargs)
SourceInstance methods
add_argument_value(paramlist : Array(String), _neg_given)
Sourcedefault
Sourcetype_format
Provide type-format string. Default to empty, but should probably be overridden for most subclasses.
value
Sourcevalue=(value : IO::FileDescriptor | Nil)
Source