Class: VHSKit::Server
- Inherits:
-
Object
- Object
- VHSKit::Server
- Defined in:
- lib/vhskit/server.rb
Instance Method Summary collapse
-
#initialize(port, conf) ⇒ Server
constructor
A new instance of Server.
- #run ⇒ Object
Constructor Details
#initialize(port, conf) ⇒ Server
Returns a new instance of Server.
7 8 9 10 |
# File 'lib/vhskit/server.rb', line 7 def initialize(port, conf) @serv = TCPServer.new port @conf = conf end |