Class: Concurrent::OneByOne::Job
- Inherits:
-
Struct
- Object
- Struct
- Concurrent::OneByOne::Job
- Defined in:
- lib/concurrent/executor/one_by_one.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
7 8 9 |
# File 'lib/concurrent/executor/one_by_one.rb', line 7 def args @args end |
#block ⇒ Object
Returns the value of attribute block
7 8 9 |
# File 'lib/concurrent/executor/one_by_one.rb', line 7 def block @block end |
#executor ⇒ Object
Returns the value of attribute executor
7 8 9 |
# File 'lib/concurrent/executor/one_by_one.rb', line 7 def executor @executor end |
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/concurrent/executor/one_by_one.rb', line 8 def call block.call *args end |