lib/richunits/weekdays.rb in richunits-0.6.1 vs lib/richunits/weekdays.rb in richunits-0.6.2
- old
+ new
@@ -1,10 +1,12 @@
module RichUnits
# = Weekdays
#
# The Weekdays class provides useful weekday terminology.
-
+ #
+ # Thanks to Dave Hoover and Ryan Platte for the Weekdays implementation.
+ #
class Weekdays
WEEKDAYS = 1..5 # Monday is wday 1
ONE_DAY = 60 * 60 * 24