Class: FluentCommandBuilder::ExecutorBase
- Inherits:
-
Object
- Object
- FluentCommandBuilder::ExecutorBase
show all
- Defined in:
- lib/fluent_command_builder/command_executors/executor_base.rb
Instance Method Summary
collapse
Instance Method Details
#execute(command) {|$?| ... } ⇒ Object
4
5
6
7
8
|
# File 'lib/fluent_command_builder/command_executors/executor_base.rb', line 4
def execute(command)
result = do_execute command
yield $? if block_given?
result
end
|
#will_fail_on_error? ⇒ Boolean
14
15
16
|
# File 'lib/fluent_command_builder/command_executors/executor_base.rb', line 14
def will_fail_on_error?
false
end
|
#will_print_on_execute? ⇒ Boolean
10
11
12
|
# File 'lib/fluent_command_builder/command_executors/executor_base.rb', line 10
def will_print_on_execute?
false
end
|