class

Counter::CounterState

Inherits Reference < Object

Constructors

new(value : Int32)

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

[](idx)
copy(value = @value) : CounterState
hash(hasher)

See Object#hash(hasher)

to_named_tuple
to_s(io)
to_tuple
value

Macros

[]=(value_pattern, rhs)