Class: Day

Inherits:
Object
  • Object
show all
Extended by:
Enum
Defined in:
lib/day.rb

Constant Summary collapse

DAYS =
[nil, :monday, :tuesday, :wednesday, :thursday, :friday, :saturday, :sunday]

Class Method Summary collapse

Methods included from Enum

from_numeric, to_numeric

Class Method Details

.valuesObject

values method for Enum module


14
15
16
# File 'lib/day.rb', line 14

def self.values
  DAYS
end