struct

Command::Argument

Inherits Struct < Value < Object

Represents a parsed command-line argument.

Constructors

new(name : String, type : Symbol, value : Bool | String | Nil)
Source

Instance methods

clone
Source
copy_with(name _name = @name, type _type = @type, value _value = @value)
Source
name
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.

Source
type
value