Command::Argument
Inherits Struct < Value < Object
Represents a parsed command-line argument.
Constructors
new(name : String, type : Symbol, value : Bool | String | Nil)
SourceInstance methods
clone
Sourcecopy_with(name _name = @name, type _type = @type, value _value = @value)
Sourcename
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
type
value