enum Aoc2022::Day2::Shape

Defined in:

aoc2022/days/day2.cr

Enum Members

ROCK = 1
PAPER = 2
SCISSORS = 3

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from(play : String) #

[View source]

Instance Method Detail

def paper? #

[View source]
def rock? #

[View source]
def scissors? #

[View source]