Class: HttpStub::Rake::DaemonTasks

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ DaemonTasks

Returns a new instance of DaemonTasks.



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

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