Class: Thin::Glazed::Server
- Inherits:
-
Object
- Object
- Thin::Glazed::Server
- Includes:
- Logging
- Defined in:
- lib/thin/glazed/server.rb
Instance Attribute Summary collapse
-
#client_port ⇒ Object
readonly
Returns the value of attribute client_port.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(host, port, client_port) ⇒ Server
constructor
A new instance of Server.
- #start ⇒ Object
Constructor Details
#initialize(host, port, client_port) ⇒ Server
Returns a new instance of Server.
6 7 8 |
# File 'lib/thin/glazed/server.rb', line 6 def initialize(host, port, client_port) @host, @port, @client_port = host, port, client_port end |
Instance Attribute Details
#client_port ⇒ Object (readonly)
Returns the value of attribute client_port.
4 5 6 |
# File 'lib/thin/glazed/server.rb', line 4 def client_port @client_port end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
4 5 6 |
# File 'lib/thin/glazed/server.rb', line 4 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
4 5 6 |
# File 'lib/thin/glazed/server.rb', line 4 def port @port end |