Class: FluentCommandBuilder::SystemExecutor

Inherits:
ExecutorBase show all
Defined in:
lib/fluent_command_builder/command_executors/system_executor.rb

Instance Method Summary collapse

Methods inherited from ExecutorBase

#execute, #will_fail_on_error?, #will_print_on_execute?

Instance Method Details

#do_execute(command) ⇒ Object



6
7
8
# File 'lib/fluent_command_builder/command_executors/system_executor.rb', line 6

def do_execute(command)
  system command.to_s
end