Method: DelayedResult#then
- Defined in:
- lib/master_loader.rb
#then(&block) ⇒ Object
6 7 8 9 10 |
# File 'lib/master_loader.rb', line 6 def then(&block) DelayedResult.new do block.call(value!) end end |
6 7 8 9 10 |
# File 'lib/master_loader.rb', line 6 def then(&block) DelayedResult.new do block.call(value!) end end |