Class: Virt::VMWare::Guest
Instance Attribute Summary
Attributes inherited from Guest
#arch, #boot_device, #current_memory, #interface, #machine, #memory, #name, #template_path, #type, #vcpu, #volume, #xml_desc
Instance Method Summary (collapse)
-
- (Guest) initialize(options = {})
constructor
A new instance of Guest.
Methods inherited from Guest
#<=>, #destroy, #new?, #poweroff, #reboot, #running?, #save, #shutdown, #start, #stop, #to_s, #uuid
Methods included from Util
Constructor Details
- (Guest) initialize(options = {})
A new instance of Guest
4 5 6 7 8 |
# File 'lib/virt/vmware/guest.rb', line 4 def initialize = {} super() @volume = Volume.new @interface ||= Interface.new end |