Class: Concurrent::SerializedExecution::Job
- Inherits:
-
Struct
- Object
- Struct
- Concurrent::SerializedExecution::Job
- Defined in:
- lib/concurrent/executor/serialized_execution.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#block ⇒ Object
Returns the value of attribute block.
-
#executor ⇒ Object
Returns the value of attribute executor.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
13 14 15 |
# File 'lib/concurrent/executor/serialized_execution.rb', line 13 def args @args end |
#block ⇒ Object
Returns the value of attribute block
13 14 15 |
# File 'lib/concurrent/executor/serialized_execution.rb', line 13 def block @block end |
#executor ⇒ Object
Returns the value of attribute executor
13 14 15 |
# File 'lib/concurrent/executor/serialized_execution.rb', line 13 def executor @executor end |
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'lib/concurrent/executor/serialized_execution.rb', line 14 def call block.call *args end |