Class: Ara::Remote::Server
- Inherits:
-
Object
- Object
- Ara::Remote::Server
- Defined in:
- lib/ara/remote.rb
Instance Method Summary collapse
-
#initialize(host, port) ⇒ Server
constructor
A new instance of Server.
- #register(route, actor) ⇒ Object
- #start ⇒ Object
Constructor Details
#initialize(host, port) ⇒ Server
Returns a new instance of Server.
27 28 29 30 31 |
# File 'lib/ara/remote.rb', line 27 def initialize(host, port) @host = host @port = port @routes = {} end |