Skip to content

Commit

Permalink
some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrloop committed Mar 5, 2012
1 parent cafbab0 commit ecde8ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ice_cube/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ def self.from_hash(data, options = {})
end
schedule
end

# Determine if the schedule will end
# @return [Boolean] true if ending, false if repeating forever
def terminating?
end_time || recurrence_rules.all?(&:terminating?)
Expand Down

0 comments on commit ecde8ec

Please sign in to comment.