Class: Iyyov::Scheduler::TimeComp
- Inherits:
-
Object
- Object
- Iyyov::Scheduler::TimeComp
- Defined in:
- lib/iyyov/scheduler.rb
Overview
Implements java.util.Comparator over task.next_time values
Instance Method Summary collapse
Instance Method Details
#compare(p, n) ⇒ Object
114 115 116 |
# File 'lib/iyyov/scheduler.rb', line 114 def compare( p, n ) p.next_time <=> n.next_time end |