class Producer::Core::Actions::ShellCommand

Public Instance Methods

apply() click to toggle source
# File lib/producer/core/actions/shell_command.rb, line 14
def apply
  remote.execute @command, output, error_output
end
name() click to toggle source
# File lib/producer/core/actions/shell_command.rb, line 10
def name
  'sh'
end
setup() click to toggle source
# File lib/producer/core/actions/shell_command.rb, line 5
def setup
  check_arguments_size! 1
  @command = arguments.first
end