Class: FluentCommandBuilder::RakeShExecutor

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

Instance Method Summary collapse

Methods inherited from ExecutorBase

#execute

Instance Method Details

#do_execute(command) ⇒ Object



8
9
10
# File 'lib/fluent_command_builder/command_executors/rake_sh_executor.rb', line 8

def do_execute(command)
  sh command.to_s
end

#will_fail_on_error?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/fluent_command_builder/command_executors/rake_sh_executor.rb', line 16

def will_fail_on_error?
  true
end

#will_print_on_execute?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/fluent_command_builder/command_executors/rake_sh_executor.rb', line 12

def will_print_on_execute?
  true
end