Class: Auger::Server
- Inherits:
-
Object
- Object
- Auger::Server
- Defined in:
- lib/auger/server.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(name, options) ⇒ Server
Returns a new instance of Server.
6 7 8 9 |
# File 'lib/auger/server.rb', line 6 def initialize(name, ) @name = name @options = || {} end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/auger/server.rb', line 4 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/auger/server.rb', line 4 def @options end |