AoC2019::Day3::Point
Inherits Comparable < Struct < Value < Object
Constants
ZERO = self.new(0, 0)
Constructors
new(x : Int32, y : Int32)
SourceInstance methods
<=>(other : self)
Sourcedown(step : Int32)
Sourceleft(step : Int32)
Sourcemanhattan_distance(from : Point = ZERO)
Sourcemove(command : String)
Sourceright(step : Int32)
Sourceup(step : Int32)
Source