Class: EventMachine::EvmaTCPServer
- Inherits:
-
Selectable
- Object
- Selectable
- EventMachine::EvmaTCPServer
- Defined in:
- lib/style/handler/eventmachine.rb
Class Method Summary collapse
-
.start_server(host, port) ⇒ Object
Use $STYLE_SOCKET instead of creating a socket with the host and port.
Class Method Details
.start_server(host, port) ⇒ Object
Use $STYLE_SOCKET instead of creating a socket with the host and port
38 39 40 |
# File 'lib/style/handler/eventmachine.rb', line 38 def start_server(host, port) EvmaTCPServer.new $STYLE_SOCKET end |