lib/schedulability/schedule.rb in schedulability-0.4.0 vs lib/schedulability/schedule.rb in schedulability-0.4.1

- old
+ new

@@ -68,12 +68,12 @@ return ! self.negative_periods_include?( time_obj ) && self.positive_periods_include?( time_obj ) end - ### Returns +true+ if any of the schedule's positive periods include the - ### specified +time+. - def positive_periods_include?( time ) + ### Returns +true+ if any of the schedule's positive periods include the + ### specified +time+. + def positive_periods_include?( time ) return self.positive_periods.empty? || find_matching_period_for( time, self.positive_periods ) end