6 Commits

Author SHA1 Message Date
5afb6bc2b9 removed last traces of Time#map method which was
causing issues with Active Record
2010-09-28 19:16:11 +03:00
b8ba272b95 added include_end option to #iterate 2010-08-04 18:26:14 +03:00
3201485eaf Added #of_the / #of range modifier which is used
like #until and #from. Except #of_the makes the
iteration walk through each unit of time passed to
the #each / #map method, from the beginning till
end of unit passed to #of_the.

Example:
Time.now.each_hour.of_the(:month) { |t puts t }
#=> iterates over each over of the whole current month
2010-08-04 17:58:58 +03:00
66f661aef8 created a #map alias for #map_each 2010-08-03 14:07:58 +03:00
c7e46c25d1 Added #until's sister method, #from. 2010-07-29 14:26:31 +03:00
438cdd5b68 Interation methods #each, #map_each and more are
implemented and working. Also restructured files
again.
2010-07-29 04:25:42 +03:00