class Toka::Option
- Toka::Option
- Reference
- Object
Overview
Run-time structure to describe an available option.
Defined in:
toka/toka_option.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #category : String | Nil
- #description : String | Nil
- #has_value? : Bool
-
#hash(hasher)
See
Object#hash(hasher)
- #long_names : Array(String)
- #name : String
- #short_names : Array(Char)
- #value_name : String
Constructor Detail
def self.new(name : String, long_names : Array(String), short_names : Array(Char), value_name : String, description : Nil | String, category : Nil | String, has_value : Bool)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.