Sha256: 1e89c21619ff468eac6253e13c6de55ba9203064fb1dfb75e5c2e5a0517cc923
Contents?: true
Size: 376 Bytes
Versions: 17
Compression:
Stored size: 376 Bytes
Contents
module Vfs class UniversalEntry < Entry # # Attributes # def exist? attrs = get !!(attrs[:dir] or attrs[:file]) end # # CRUD # def destroy storage.open_fs do |fs| attrs = get fs.delete_dir path if attrs[:dir] fs.delete_file path if attrs[:file] end self end end end
Version data entries
17 entries across 17 versions & 1 rubygems