Class: VirtualBox::COM::Model::Machine
- Inherits:
-
AbstractInterface
- Object
- AbstractModel
- AbstractInterface
- VirtualBox::COM::Model::Machine
- Defined in:
- lib/virtualbox/com/model/4.2.rb
Constant Summary collapse
- ONLINE_STATES =
Set.new [ :running, :paused, :stuck, :teleporting, :live_snapshotting, :starting, :stopping, :saving, :restoring, :teleporting_paused_vm, :teleporting_in, :fault_tolerant_syncing, :deleting_snapshot_online, :deleting_snapshot_paused, ]
Instance Attribute Summary
Attributes inherited from AbstractInterface
Instance Method Summary collapse
Methods inherited from AbstractInterface
#call_function, #cast, extends, function, functions, #initialize, #inspect, member, members, properties, property, #read_property, setup, #write_property
Methods inherited from AbstractModel
Constructor Details
This class inherits a constructor from VirtualBox::COM::AbstractInterface
Instance Method Details
#is_online? ⇒ Boolean
26 27 28 |
# File 'lib/virtualbox/com/model/4.2.rb', line 26 def is_online? ONLINE_STATES.include?(state) end |