struct Advent::Day11::Monkey

Defined in:

day11.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt64, items : Array(UInt64), operation : String, operation_value : UInt64, test : UInt64, true_throw : UInt64, false_throw : UInt64) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_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) #

[View source]
def false_throw : UInt64 #

def id : UInt64 #

def items : Array(UInt64) #

def operation(item : UInt64) #

[View source]
def operation : String #

def operation_value : UInt64 #

def test : UInt64 #

def true_throw : UInt64 #