Class: Tzispa::Server

Inherits:
Rack::Server
  • Object
show all
Defined in:
lib/tzispa/server.rb

Overview

provides rack-based web server interface

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServer

Returns a new instance of Server.



11
12
13
14
# File 'lib/tzispa/server.rb', line 11

def initialize
  @options = _extract_options
  setup
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/tzispa/server.rb', line 9

def options
  @options
end

Instance Method Details

#startObject



16
17
18
19
# File 'lib/tzispa/server.rb', line 16

def start
  preload
  super
end