Class: HttpServerManager::Rake::ServerTasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/http_server_manager/rake/server_tasks.rb

Instance Method Summary collapse

Constructor Details

#initialize(server) ⇒ ServerTasks

Returns a new instance of ServerTasks.



8
9
10
11
12
13
# File 'lib/http_server_manager/rake/server_tasks.rb', line 8

def initialize(server)
  define_start_task(server)
  define_stop_task(server)
  define_restart_task(server)
  define_status_task(server)
end