Advent::Day11::Monkey
Inherits Struct < Value < Object
Constructors
new(id : UInt64, items : Array(UInt64), operation : String, operation_value : UInt64, test : UInt64, true_throw : UInt64, false_throw : UInt64)
SourceInstance methods
clone
Sourcecopy_with(id _id = @id, items _items = @items, operation _operation = @operation, operation_value _operation_value = @operation_value, test _test = @test, true_throw _true_throw = @true_throw, false_throw _false_throw = @false_throw)
Sourcefalse_throw
id
items
operation(item : UInt64)
Sourceoperation
operation_value
test
true_throw