abstract class Optarg::OptionValueContainer

Defined in:

optarg/option_value_container.cr

Instance Method Summary

Instance Method Detail

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

Returns false (other can only be a Value here).


[View source]
def [](klass : ::String.class) : Hash(String, String) #

[View source]
def [](klass : ::Bool.class) : Hash(String, Bool) #

[View source]
def [](klass : ::Array(::String).class) : Hash(String, Array(String)) #

[View source]
def __bools : Hash(String, Bool) #

[View source]
def __string_arrays : Hash(String, Array(String)) #

[View source]
def __strings : Hash(String, String) #

[View source]
def __to_tuple #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]