Module: Lino::Builders::Mixins::Executor
- Included in:
- CommandLine
- Defined in:
- lib/lino/builders/mixins/executor.rb
Instance Method Summary collapse
Instance Method Details
#initialize(state) ⇒ Object
7 8 9 10 |
# File 'lib/lino/builders/mixins/executor.rb', line 7 def initialize(state) super @executor = state[:executor] || Lino.configuration.executor end |
#with_executor(executor) ⇒ Object
12 13 14 |
# File 'lib/lino/builders/mixins/executor.rb', line 12 def with_executor(executor) with(executor:) end |