Class: Rdb::DebugServer
- Inherits:
-
Sinatra::Application
- Object
- Sinatra::Application
- Rdb::DebugServer
- Includes:
- Sinatra::SSE
- Defined in:
- lib/rdb/web/server.rb
Instance Method Summary collapse
-
#initialize ⇒ DebugServer
constructor
A new instance of DebugServer.
Constructor Details
#initialize ⇒ DebugServer
Returns a new instance of DebugServer.
52 53 54 55 56 57 58 59 60 |
# File 'lib/rdb/web/server.rb', line 52 def initialize super @events = EventManager.new @target = CommandTarget.new(@events) Thread.new do @target.connect_listen('localhost', 4444) end end |