enum

PomodoroCr::State

Inherits Enum < Comparable < Value < Object

Constants

NEW_POMODORO = 0
WORK = 1
NEW_SHORT_BREAK = 2
SHORT_BREAK = 3
NEW_LONG_BREAK = 4
LONG_BREAK = 5

Instance methods

long_break?

Returns true if this enum value equals LONG_BREAK

Source
new_long_break?

Returns true if this enum value equals NEW_LONG_BREAK

Source
new_pomodoro?

Returns true if this enum value equals NEW_POMODORO

Source
new_short_break?

Returns true if this enum value equals NEW_SHORT_BREAK

Source
short_break?

Returns true if this enum value equals SHORT_BREAK

Source
work?

Returns true if this enum value equals WORK

Source