enum

Advent::Day22::Material

Inherits Enum < Comparable < Value < Object

Constants

AIR = 0
WALL = 1

Instance methods

air?

Returns true if this enum value equals AIR

Source
wall?

Returns true if this enum value equals WALL

Source