Class: Focus::RunShellCommand

Inherits:
Action
  • Object
show all
Defined in:
lib/focus/actions/run_shell_command.rb

Instance Method Summary collapse

Methods inherited from Action

#call, #config, #error_message

Instance Method Details

#performObject



3
4
5
# File 'lib/focus/actions/run_shell_command.rb', line 3

def perform
  system(context.command.to_s)
end