Class: EMRPC::Server
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#wrapper ⇒ Object
Returns the value of attribute wrapper.
Instance Method Summary collapse
-
#initialize(options) ⇒ Server
constructor
A new instance of Server.
- #start ⇒ Object
- #stop ⇒ Object
Constructor Details
#initialize(options) ⇒ Server
Returns a new instance of Server.
4 5 6 7 |
# File 'lib/emrpc/server.rb', line 4 def initialize() @address = [:address] or raise ":address option is missing!" @wrapper = EventedWrapper.new(:backend => [:backend]) end |