We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee79ec commit 89ba292Copy full SHA for 89ba292
lib/ice_cube/schedule.rb
@@ -384,7 +384,7 @@ def self.from_hash(original_hash, options = {})
384
# Determine if the schedule will end
385
# @return [Boolean] true if ending, false if repeating forever
386
def terminating?
387
- recurrence_rules.empty? || recurrence_rules.all?(&:terminating?)
+ @all_recurrence_rules.all?(&:terminating?)
388
end
389
390
def hash
0 commit comments