Class: Rubicante::HostGroup
- Inherits:
-
Object
- Object
- Rubicante::HostGroup
- Includes:
- Singleton
- Defined in:
- lib/rubicante/host_group.rb
Instance Attribute Summary collapse
-
#hosts ⇒ Object
readonly
Returns the value of attribute hosts.
Instance Method Summary collapse
- #[](hostname) ⇒ Object
-
#initialize ⇒ HostGroup
constructor
A new instance of HostGroup.
Constructor Details
#initialize ⇒ HostGroup
Returns a new instance of HostGroup.
10 11 12 |
# File 'lib/rubicante/host_group.rb', line 10 def initialize @hosts = {} end |
Instance Attribute Details
#hosts ⇒ Object (readonly)
Returns the value of attribute hosts.
8 9 10 |
# File 'lib/rubicante/host_group.rb', line 8 def hosts @hosts end |