Class: RCelery::EagerResult
- Inherits:
-
Object
- Object
- RCelery::EagerResult
- Defined in:
- lib/rcelery/eager_result.rb
Instance Attribute Summary collapse
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
-
#initialize(value) ⇒ EagerResult
constructor
A new instance of EagerResult.
Constructor Details
#initialize(value) ⇒ EagerResult
Returns a new instance of EagerResult.
5 6 7 |
# File 'lib/rcelery/eager_result.rb', line 5 def initialize(value) @wait = value end |
Instance Attribute Details
#wait ⇒ Object
Returns the value of attribute wait.
3 4 5 |
# File 'lib/rcelery/eager_result.rb', line 3 def wait @wait end |