lib/vfs/entries/universal_entry.rb in vfs-0.4.8 vs lib/vfs/entries/universal_entry.rb in vfs-0.5.0

- old
+ new

@@ -1,24 +1,20 @@ module Vfs class UniversalEntry < Entry - # - # Attributes - # + # Attributes. + def exist? !!get end - def copy_to to, options = {} from = file? ? to_file : to_dir from.copy_to to, options end + # CRUD. - # - # CRUD - # - def destroy - destroy_entry + def delete + delete_entry end end end \ No newline at end of file