class Toka::OptionDescriptor

Overview

Run-time structure to describe all options supported by a class.

Defined in:

toka/toka_option_descriptor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(banner : String, footer : Nil | String, options : Array(Toka::Option)) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

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


def [](*args, **options) #

[View source]
def [](*args, **options, &) #

[View source]
def banner : String #

[View source]
def each(*args, **options) #

[View source]
def each(*args, **options, &) #

[View source]
def first(*args, **options) #

[View source]
def first(*args, **options, &) #

[View source]
def footer : String | Nil #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last(*args, **options) #

[View source]
def last(*args, **options, &) #

[View source]
def options : Array(Option) #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &) #

[View source]