Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
advent
master
Advent
Arguments
Flags
DayOne
Solver
SpaceModule
DayThree
Grid
Segment
Solver
Wire
DayTwo
EndOfExecution
Instruction
Intcode
InvalidOpcode
Opcode
Solver
Built with Crystal 1.9.2
2023-10-07 21:00:46 UTC
class
DayThree::Segment
DayThree::Segment
Reference
Object
Defined in:
day_three/segment.cr
Constructors
.new
(segment : String)
Instance Method Summary
#direction
: Char
#direction=
(direction : Char)
#length
: Int32
#length=
(length : Int32)
Constructor Detail
def self.
new
(segment : String)
#
[
View source
]
Instance Method Detail
def
direction
: Char
#
[
View source
]
def
direction=
(direction : Char)
#
[
View source
]
def
length
: Int32
#
[
View source
]
def
length=
(length : Int32)
#
[
View source
]