Changeset 175

Show
Ignore:
Timestamp:
06/02/06 17:07:40 (2 years ago)
Author:
blackhedd
Message:

added convenience class method, Reactor#stop

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • experiments/EventMachine/lib/machine/reactor.rb

    r166 r175  
    1818      Timeout.new(0) {yield} if block_given? 
    1919      instance.run 
     20    end 
     21 
     22    #-- 
     23    # Convenience method 
     24    def self.stop 
     25      instance.stop 
    2026    end 
    2127