class Joy::Map

Defined in:

joy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(storage : Immutable::Map(Joy::Name, Joy::Data)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def [](field : Field(T)) : T forall T #

Returns the value associated with field, or, when not found, the field's default value.


[View source]
def set(f : Field(T), v : T) : Map forall T #

[View source]