Class: NodeRb::BackWorker
- Inherits:
-
Thread
- Object
- Thread
- NodeRb::BackWorker
- Defined in:
- lib/noderb/defer.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ BackWorker
constructor
A new instance of BackWorker.
Constructor Details
#initialize(block) ⇒ BackWorker
Returns a new instance of BackWorker.
5 6 7 8 9 |
# File 'lib/noderb/defer.rb', line 5 def initialize block super do block.call end end |