Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
advent-of-code-2021
main
Top Level Namespace
Board
Num
Built with Crystal 1.9.2
2023-10-07 10:33:10 UTC
struct
Board
Board
Struct
Value
Object
Defined in:
day_04.cr
Constructors
.new
Instance Method Summary
#columns
#initialize
#mark
(number)
#rows
: Array(Array(Board::Num))
#rows=
(rows : Array(Array(Board::Num)))
#unmarked
#win
: Bool
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
columns
#
[
View source
]
def
initialize
#
[
View source
]
def
mark
(number)
#
[
View source
]
def
rows
: Array(Array(
Board::Num
))
#
[
View source
]
def
rows=
(rows : Array(Array(
Board::Num
)))
#
[
View source
]
def
unmarked
#
[
View source
]
def
win
: Bool
#
[
View source
]