Class: Generic::Boot

Inherits:
Base
  • Object
show all
Defined in:
lib/generic/boot.rb

Class Method Summary collapse

Methods inherited from Base

after, before, #call, delete, get, group, import, #initialize, library, post, put, register, set_guard, #settings

Methods included from Genericer::General

included

Constructor Details

This class inherits a constructor from Generic::Base

Class Method Details

.go!(server_port = 1453) ⇒ Object



7
8
9
# File 'lib/generic/boot.rb', line 7

def go!(server_port = 1453)
  Rack::Handler.pick(['webrick']).run new, :Port => server_port
end