Class: RSpec::EM::FakeClock::Schedule
- Inherits:
-
SortedSet
- Object
- SortedSet
- RSpec::EM::FakeClock::Schedule
- Defined in:
- lib/rspec/eventmachine/fake_clock.rb
Instance Method Summary collapse
Instance Method Details
#next_scheduled_at(time) ⇒ Object
29 30 31 |
# File 'lib/rspec/eventmachine/fake_clock.rb', line 29 def next_scheduled_at(time) find { |timeout| timeout.time <= time } end |