Class: Concurrent::JavaExecutorService::Job
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Runnable
|
|
Inherits: | Object |
Defined in: | lib/concurrent-ruby/concurrent/executor/java_executor_service.rb |
Class Method Summary
- .new(args, block) ⇒ Job constructor
Instance Method Summary
Constructor Details
.new(args, block) ⇒ Job
# File 'lib/concurrent-ruby/concurrent/executor/java_executor_service.rb', line 69
def initialize(args, block) @args = args @block = block end
Instance Method Details
#run
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/executor/java_executor_service.rb', line 74
def run @block.call(*@args) end