Class: Pieces::Server
- Inherits:
-
Rack::Server
- Object
- Rack::Server
- Pieces::Server
- Defined in:
- lib/pieces/server.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(options) ⇒ Server
constructor
A new instance of Server.
- #start ⇒ Object
Constructor Details
#initialize(options) ⇒ Server
Returns a new instance of Server.
8 9 10 11 |
# File 'lib/pieces/server.rb', line 8 def initialize() @path = [:path] super end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
6 7 8 |
# File 'lib/pieces/server.rb', line 6 def path @path end |
Instance Method Details
#start ⇒ Object
13 14 15 16 17 |
# File 'lib/pieces/server.rb', line 13 def start build_pieces listener.start super end |