Class: HttpStub::Rake::ServerDaemonTasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/http_stub/rake/server_daemon_tasks.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ ServerDaemonTasks

Returns a new instance of ServerDaemonTasks.


6
7
8
9
# File 'lib/http_stub/rake/server_daemon_tasks.rb', line 6

def initialize(args)
  HttpStub::Rake::ServerTasks.new(args)
  namespace(args[:name]) { HttpServerManager::Rake::ServerTasks.new(HttpStub::Server::Daemon.new(args)) }
end