Class: VBox::ManagedObjectRef

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/managed_object_ref.rb

Instance Attribute Summary

Attributes inherited from Base

#ref

Instance Method Summary collapse

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Method Details

#get_interface_nameObject

Methods



6
7
8
9
# File 'lib/virtualbox/classes/managed_object_ref.rb', line 6

def get_interface_name
  interface_name = VBox::WebService.send_request(:i_managed_object_ref_get_interface_name, _this)
  interface_name[1..-1]
end

#releaseObject



11
12
13
# File 'lib/virtualbox/classes/managed_object_ref.rb', line 11

def release
  VBox::WebService.send_request(:i_managed_object_ref_release, _this)
end