Class: Auger::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/auger/server.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options)
  @name = name
  @options = options || {}
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/auger/server.rb', line 4

def name
  @name
end

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/auger/server.rb', line 4

def options
  @options
end