Class: Xen::Host
- Inherits:
-
Object
- Object
- Xen::Host
- Defined in:
- lib/xen/host.rb
Instance Attribute Summary collapse
-
#free_memory ⇒ Object
readonly
Returns the value of attribute free_memory.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#machine ⇒ Object
readonly
Returns the value of attribute machine.
-
#total_memory ⇒ Object
readonly
Returns the value of attribute total_memory.
Instance Method Summary collapse
-
#initialize ⇒ Host
constructor
A new instance of Host.
Constructor Details
Instance Attribute Details
#free_memory ⇒ Object (readonly)
Returns the value of attribute free_memory.
2 3 4 |
# File 'lib/xen/host.rb', line 2 def free_memory @free_memory end |
#host ⇒ Object (readonly)
Returns the value of attribute host.
2 3 4 |
# File 'lib/xen/host.rb', line 2 def host @host end |
#machine ⇒ Object (readonly)
Returns the value of attribute machine.
2 3 4 |
# File 'lib/xen/host.rb', line 2 def machine @machine end |
#total_memory ⇒ Object (readonly)
Returns the value of attribute total_memory.
2 3 4 |
# File 'lib/xen/host.rb', line 2 def total_memory @total_memory end |