Class: FastestServer::FastestCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- FastestServer::FastestCommand
- Defined in:
- lib/fastest_server.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'lib/fastest_server.rb', line 39 def execute if @servers.nil? || @servers.empty? puts(help) exit_success end Fastest.new(@servers, job, verbose?).give_me_answer end |
#exit_success ⇒ Object
35 36 37 |
# File 'lib/fastest_server.rb', line 35 def exit_success exit(0) end |