Module Runt
In: lib/runt/daterange.rb
lib/runt/dprecision.rb
lib/runt/pdate.rb
lib/runt/schedule.rb
lib/runt/temporalexpression.rb
lib/runt.rb

The Runt module is the main namespace for all Runt modules and classes. Using require statements, it makes the entire Runt library available.It also defines some new constants and exposes some already defined in the standard library classes Date and DateTime.

See also date.rb

Classes and Modules

Module Runt::DPrecision
Class Runt::Collection
Class Runt::DIMonth
Class Runt::DIWeek
Class Runt::DateRange
Class Runt::Diff
Class Runt::Event
Class Runt::Intersect
Class Runt::PDate
Class Runt::REDay
Class Runt::REWeek
Class Runt::REYear
Class Runt::RSpec
Class Runt::Schedule
Class Runt::ScheduleElement
Class Runt::Spec
Class Runt::TExpr
Class Runt::Union
Class Runt::WIMonth

Constants

Sunday = Date::DAYNAMES.index("Sunday")   Yes it‘s true, I‘m a big idiot!
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]

[Validate]