Method: Slinky::Runner#run

Defined in:
lib/slinky/runner.rb

#runObject



57
58
59
60
61
62
63
64
65
66
# File 'lib/slinky/runner.rb', line 57

def run
  case @command
  when "start" then command_start
  when "build" then command_build
  when nil
    abort "Must provide a command (one of #{COMMANDS.join(', ')})"
  else
    abort "Unknown command: #{@command}. Must be on of #{COMMANDS.join(', ')}."
  end
end