class DayThree::Wire

Defined in:

day_three/wire.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]
def self.parse(wire : String) : Wire #

[View source]

Instance Method Detail

def add_segment(segment : Segment) #

[View source]
def add_segments(segments : Array(Segment)) #

[View source]
def history : Set(Tuple(Int32, Int32)) #

[View source]
def position : Tuple(Int32, Int32) #

[View source]
def steps_to : Hash(Tuple(Int32, Int32), Int32) #

[View source]