class IGOL::State

Defined in:

state.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

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

[View source]

Macro Detail

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

[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) #