13 14 15 16 17 18 19
# File 'lib/crony/formatters/day_of_week_formatter.rb', line 13 def get_weekday(day) if day =~ /[a-z]/i DAYS[CRON_DAYS.index(day.downcase)] else DAYS[day.to_i] end end