Class: HttpStub::Rake::ServerTasks

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

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ ServerTasks

Returns a new instance of ServerTasks.


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

def initialize(args)
  namespace args[:name] do
    define_start_task(args)
  end
end