Class: Kuroko2::Servers::Base
- Inherits:
-
Object
- Object
- Kuroko2::Servers::Base
- Defined in:
- lib/autoload/kuroko2/servers/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/autoload/kuroko2/servers/base.rb', line 11 def initialize( = {}) @options = end |
Instance Method Details
#run ⇒ Object
15 16 17 |
# File 'lib/autoload/kuroko2/servers/base.rb', line 15 def run ServerEngine.create(nil, worker, .merge(@options)).run end |