Sha256: cf760ea5eeaa140976d2b292fc234dc514e0ed43a73eff18a7357c4862feaac2
Contents?: true
Size: 998 Bytes
Versions: 1
Compression:
Stored size: 998 Bytes
Contents
module VirtFS::CamcorderFS # rubocop:disable Style/ClassAndModuleChildren # # Directory class methods - called by VirtFS::Dir. # Makes recordable call to corresponding CcDelegate method. # class FS module DirClassMethods def dir_delete(p) ccd_call(__method__, apply_root(p)) end def dir_chdir(p) ccd_call(__method__, apply_root(p)) end def dir_entries(p) ccd_call(__method__, apply_root(p)) end def dir_exist?(p) ccd_call(__method__, apply_root(p)) end def dir_foreach(p, &block) return_enum(dir_entries(p), block) end def dir_mkdir(p, permissions) ccd_call(__method__, apply_root(p), permissions) end def dir_new(fs_rel_path, hash_args, open_path, cwd) instance_handle = ccd_call(__method__, apply_root(fs_rel_path), hash_args, open_path, cwd) VirtFS::CamcorderFS::Dir.new(self, instance_handle, hash_args) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtfs-camcorderfs-0.0.1 | lib/virtfs/camcorderfs/fs/dir_class_methods.rb |