seejohnrun/ice_cube — pull request #38 by MitzaCeusan (2011-11-08 15:19:58+00:00)
Title: Fixing an issue I was having on ruby 1.8.7 where the 'head' param was actually an array of [head, exclude_dates] 

fixing bug on ruby 1.8.7 where the block parameter count is off and thus making the callback return an array of [rrule_occurrence_head, exclude_dates] instead of the rrule_occurrence_head. this was causing an error eventually in the code : NoMethodError (undefined method "upto" for #)