enum

Aoc::Day20::Orientation

Inherits Enum < Comparable < Value < Object

Constants

Top = 0
Bottom = 1
Left = 2
Right = 3

Class methods

Instance methods

bottom?

Returns true if this enum value equals Bottom

Source
left?

Returns true if this enum value equals Left

Source
opposite
Source
right?

Returns true if this enum value equals Right

Source
top?

Returns true if this enum value equals Top

Source
turn(orientation)
Source
turn_left
Source