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
Generated using Crystal 1.14.0
2024-11-28 16:44:49 UTC
class
DayOne::
SpaceModule
DayOne::SpaceModule
Reference
Object
Defined in:
day_one/space_module.cr
Constructors
.new
(mass : String | Int32)
Instance Method Summary
#basic_fuel
: Int32
#complex_fuel
: Int32
#mass
: Int32
#mass=
(mass : String | Int32)
Constructor Detail
def self.
new
(mass : String | Int32)
#
[
View source
]
Instance Method Detail
def
basic_fuel
: Int32
#
[
View source
]
def
complex_fuel
: Int32
#
[
View source
]
def
mass
: Int32
#
[
View source
]
def
mass=
(mass : String | Int32)
#
[
View source
]