Class: HttpServerManager::Rake::ServerTasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- HttpServerManager::Rake::ServerTasks
- Defined in:
- lib/http_server_manager/rake/server_tasks.rb
Instance Method Summary collapse
-
#initialize(server) ⇒ ServerTasks
constructor
A new instance of ServerTasks.
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 |