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
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
]