Method: Eg::Music::Simulator#next_event

Defined in:
lib/eg/music/simulator.rb

#next_event(bound) ⇒ Object



32
33
34
35
36
37
38
# File 'lib/eg/music/simulator.rb', line 32

def next_event bound
  result = bound
  result = sooner result, @@next_search_complete
  result = sooner result, @@next_play_started
  result = sooner result, @@next_play_complete
  result
end