Module: Vos::Box::Vfs

Included in:
Vos::Box
Defined in:
lib/vos/box/vfs.rb

Instance Method Summary collapse

Instance Method Details

#open_fs(&block) ⇒ Object



4
5
6
# File 'lib/vos/box/vfs.rb', line 4

def open_fs &block
  open &block
end

#to_dirObject



16
17
18
# File 'lib/vos/box/vfs.rb', line 16

def to_dir
  to_entry.dir
end

#to_entryObject



8
9
10
# File 'lib/vos/box/vfs.rb', line 8

def to_entry
  '/'.to_entry_on(self)
end

#to_fileObject



12
13
14
# File 'lib/vos/box/vfs.rb', line 12

def to_file
  to_entry.file
end