Class: RCelery::EagerResult

Inherits:
Object
  • Object
show all
Defined in:
lib/rcelery/eager_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#waitObject

Returns the value of attribute wait.



3
4
5
# File 'lib/rcelery/eager_result.rb', line 3

def wait
  @wait
end