class Counter::CounterState

Defined in:

counter/counter.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(value : Int32) #

[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(value = @value) : CounterState #

[View source]
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 value : Int32 #

Macro Detail

macro []=(value_pattern, rhs) #

[View source]