Module: VirtualBox::VM::Identity
- Included in:
- VirtualBox::VM
- Defined in:
- lib/virtual_box/vm/identity.rb
Overview
Mix-in for the VM class covering identity management.
Instance Attribute Summary collapse
-
#name ⇒ Object
:nodoc: documented as attribute.
-
#uuid ⇒ Object
:nodoc: documented as attribute.
Instance Method Summary collapse
-
#reset_identity ⇒ Object
Resets the VM’s name and UUID.
Instance Attribute Details
#name ⇒ Object
:nodoc: documented as attribute
17 18 19 |
# File 'lib/virtual_box/vm/identity.rb', line 17 def name @name end |
#uuid ⇒ Object
:nodoc: documented as attribute
20 21 22 |
# File 'lib/virtual_box/vm/identity.rb', line 20 def uuid @uuid end |
Instance Method Details
#reset_identity ⇒ Object
Resets the VM’s name and UUID.
23 24 25 26 |
# File 'lib/virtual_box/vm/identity.rb', line 23 def reset_identity @name = nil @uuid = nil end |