lib/build/files/directory.rb in build-files-1.0.0 vs lib/build/files/directory.rb in build-files-1.0.1

- old
+ new

@@ -62,11 +62,16 @@ def rebase(root) self.class.new(@root.rebase(root)) end + # Convert a Directory into a String, can be used as an argument to a command. def to_str @root.to_str + end + + def to_s + to_str end def to_path @root end