Class: VBox::VFSExplorer
- Inherits:
-
Base
- Object
- Base
- VBox::VFSExplorer
show all
- Defined in:
- lib/virtualbox/classes/vfs_explorer.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
#cd(args = {}) ⇒ Object
16
17
18
19
20
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 16
def cd(args={})
ensure_hash args
progress = VBox::WebService.send_request(:ivfs_explorer_cd, _this.merge(args))
VBox::Progress.new(progress)
end
|
#cd_up(args = {}) ⇒ Object
22
23
24
25
26
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 22
def cd_up(args={})
ensure_hash args
progress = VBox::WebService.send_request(:ivfs_explorer_cd_up, _this.merge(args))
VBox::Progress.new(progress)
end
|
#entry_list(args = {}) ⇒ Object
28
29
30
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 28
def entry_list(args={})
VBox::WebService.send_request(:ivfs_explorer_entry_list, _this.merge(args))
end
|
#exists(args = {}) ⇒ Object
32
33
34
35
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 32
def exists(args={})
ensure_hash args
VBox::WebService.send_request(:ivfs_explorer_exists, _this.merge(args))
end
|
#path ⇒ Object
6
7
8
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 6
def path
VBox::WebService.send_request(:ivfs_explorer_get_path, _this)
end
|
#remove(args = {}) ⇒ Object
37
38
39
40
41
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 37
def remove(args={})
ensure_hash args
progress = VBox::WebService.send_request(:ivfs_explorer_remove, _this.merge(args))
VBox::Progress.new(progress)
end
|
#type ⇒ Object
10
11
12
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 10
def type
VBox::WebService.send_request(:ivfs_explorer_get_type, _this)
end
|
#update(args = {}) ⇒ Object
43
44
45
46
47
|
# File 'lib/virtualbox/classes/vfs_explorer.rb', line 43
def update(args={})
ensure_hash args
progress = VBox::WebService.send_request(:ivfs_explorer_update, _this.merge(args))
VBox::Progress.new(progress)
end
|