class Psychic::Runner::Task

Public Instance Methods

command() click to toggle source
# File lib/psychic/task.rb, line 4
def command
  fail NotImplementedError, 'Subclasses must implement command'
end
execute(opts) click to toggle source
# File lib/psychic/task.rb, line 8
def execute(opts)
  puts "Executing: #{command}" if opts[:verbose]
  executor.execute(command, opts)
end