Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
advent-of-code-20
main
Top Level Namespace
AdventOfCode
BitMasks
BoardingPass
Console
Ferry
Seat
Haversack
Contains
Instruction
MemoryGame
Navigation
Position
Passport
Result
Shuttle
Tickets
Rule
Ticket
TobogganMap
XMAS
Generated using Crystal 1.14.0
2024-11-26 07:33:59 UTC
struct
AdventOfCode::
Result
AdventOfCode::Result
Struct
Value
Object
Defined in:
crystal/08.cr
Constructors
.new
(valid : Bool, acc : Int32)
Instance Method Summary
#acc
: Int32
#clone
#copy_with
(valid _valid = @valid, acc _acc = @acc)
#valid
: Bool
Constructor Detail
def self.
new
(valid : Bool, acc : Int32)
#
[
View source
]
Instance Method Detail
def
acc
: Int32
#
def
clone
#
[
View source
]
def
copy_with
(valid _valid = @valid, acc _acc = @acc)
#
[
View source
]
def
valid
: Bool
#