Class: Rhinestone::Later
- Inherits:
-
Object
- Object
- Rhinestone::Later
- Defined in:
- lib/rhinestone/later.rb
Instance Method Summary collapse
Instance Method Details
#run(&block) ⇒ Object
3 4 5 |
# File 'lib/rhinestone/later.rb', line 3 def run(&block) EM.next_tick{ Fiber.new(&block).resume } end |