Module: Runt
- Defined in:
- lib/runt.rb,
lib/runt/pdate.rb,
lib/runt/schedule.rb,
lib/runt/daterange.rb,
lib/runt/dprecision.rb,
lib/runt/temporalexpression.rb
Overview
- Author
-
Matthew Lipper
Defined Under Namespace
Modules: DPrecision Classes: ApplyLast, Collection, DIMonth, DIWeek, DateRange, Diff, Event, Intersect, PDate, REDay, REWeek, REYear, RSpec, Schedule, ScheduleElement, Spec, TExpr, Union, WIMonth
Constant Summary collapse
- Sunday =
Yes it’s true, I’m a big idiot!
Date::DAYNAMES.index("Sunday")
- Monday =
Date::DAYNAMES.index("Monday")
- Tuesday =
Date::DAYNAMES.index("Tuesday")
- Wednesday =
Date::DAYNAMES.index("Wednesday")
- Thursday =
Date::DAYNAMES.index("Thursday")
- Friday =
Date::DAYNAMES.index("Friday")
- Saturday =
Date::DAYNAMES.index("Saturday")
- Sun =
Date::ABBR_DAYNAMES.index("Sun")
- Mon =
Date::ABBR_DAYNAMES.index("Mon")
- Tue =
Date::ABBR_DAYNAMES.index("Tue")
- Wed =
Date::ABBR_DAYNAMES.index("Wed")
- Thu =
Date::ABBR_DAYNAMES.index("Thu")
- Fri =
Date::ABBR_DAYNAMES.index("Fri")
- Sat =
Date::ABBR_DAYNAMES.index("Sat")
- First =
1- Second =
2- Third =
3- Fourth =
4- Fifth =
5- Sixth =
6- Seventh =
7- Eigth =
8- Ninth =
9- Tenth =
10- Last =
ApplyLast.new
- Last_of =
Last[First]
- Second_to_last =
Last[Second]