class

Toka::Option

Inherits Reference / Object

Run-time structure to describe an available option.

Constructors

new(name : String, long_names : Array(String), short_names : Array(Char), value_name : String, description : Nil | String, category : Nil | String, has_value : Bool)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

category
Source
description
Source
has_value?
Source
hash(hasher)

See Object#hash(hasher)

long_names
Source
name
Source
short_names
Source
value_name
Source