class IGOL::State

Defined in:

igol/state.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(variables : Hash(String, Pattern), grid : GameOfLife) #

[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 [](idx) #

[View source]
def copy(variables = @variables, grid = @grid) : State #

[View source]
def grid : IGOL::GameOfLife #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def to_named_tuple #

[View source]
def to_s(io) #

[View source]
def to_tuple #

[View source]
def variables : Hash(String, IGOL::Pattern) #

Macro Detail

macro []=(variables_pattern, grid_pattern, rhs) #

[View source]