Class: OodAppkit::Server
- Inherits:
-
Object
- Object
- OodAppkit::Server
- Defined in:
- lib/ood_appkit/server.rb
Overview
An object that describes a server hosted by a given cluster
Direct Known Subclasses
OodAppkit::Servers::Ganglia, OodAppkit::Servers::Moab, OodAppkit::Servers::Torque
Instance Attribute Summary collapse
-
#host ⇒ String
readonly
The host information for this server object.
Instance Method Summary collapse
-
#initialize(host:, **_) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(host:, **_) ⇒ Server
Returns a new instance of Server.
11 12 13 |
# File 'lib/ood_appkit/server.rb', line 11 def initialize(host:, **_) @host = host end |
Instance Attribute Details
#host ⇒ String (readonly)
The host information for this server object
8 9 10 |
# File 'lib/ood_appkit/server.rb', line 8 def host @host end |