Top Level Namespace
- Includes:
- Executor
Defined Under Namespace
Modules: Executor
Instance Method Summary collapse
Methods included from Executor
cpu_count, logger, publish_event
Instance Method Details
#time ⇒ Object
1 2 3 4 5 6 |
# File 'lib/hyperflow-amqp-executor/helpers.rb', line 1 def time start = Time.now result = yield t = Time.now - start [result, t] end |