Class: VBox::Directory

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

Direct Known Subclasses

GuestDirectory

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

#closeObject

Methods



16
17
18
# File 'lib/virtualbox/classes/directory.rb', line 16

def close
  VBox::WebService.send_request(:i_directory_close, _this)
end

#directory_nameObject

Attributes



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

def directory_name
  VBox::WebService.send_request(:i_directory_get_directory_name, _this)
end

#filterObject



10
11
12
# File 'lib/virtualbox/classes/directory.rb', line 10

def filter
  VBox::WebService.send_request(:i_directory_get_filter, _this)
end

#readObject



20
21
22
23
# File 'lib/virtualbox/classes/directory.rb', line 20

def read
  entry = VBox::WebService.send_request(:i_directory_read, _this)
  VBox::FsObjInfo.new(entry)
end