lib/ld/file.rb in ld-0.1.6 vs lib/ld/file.rb in ld-0.1.7

- old
+ new

@@ -7,9 +7,13 @@ @name = File.basename @path @base_name = name.split('.')[0] @type = File.directory?(@path) ? 1 : 0 end + def self.open_dir path + Ld::File.new path + end + def brothers father.children end def children(remove = nil)