Module: Ruck::GLApp::ShredLocal
- Defined in:
- lib/ruck/glapp/glapp.rb
Overview
stuff accessible in a shred
Instance Method Summary collapse
Instance Method Details
#spork(name = "unnamed", &shred) ⇒ Object
61 62 63 |
# File 'lib/ruck/glapp/glapp.rb', line 61 def spork(name = "unnamed", &shred) SHREDULER.spork(name, &shred) end |
#wait(seconds) ⇒ Object
65 66 67 |
# File 'lib/ruck/glapp/glapp.rb', line 65 def wait(seconds) SHREDULER.current_shred.yield(seconds) end |