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
-
#config_file ⇒ Object
Returns the value of attribute config_file.
-
#name ⇒ Object
:nodoc: documented as attribute.
-
#uuid ⇒ Object
:nodoc: documented as attribute.
Instance Method Summary collapse
-
#reset_identity ⇒ Object
Resets the VM’s identity (name, UUID, configuration file).
Instance Attribute Details
#config_file ⇒ Object
Returns the value of attribute config_file.
22 23 24 |
# File 'lib/virtual_box/vm/identity.rb', line 22 def config_file @config_file end |
#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 identity (name, UUID, configuration file).
25 26 27 28 29 |
# File 'lib/virtual_box/vm/identity.rb', line 25 def reset_identity @name = nil @uuid = nil @config_file = nil end |