lib/stashify/directory.rb in stashify-1.0.2 vs lib/stashify/directory.rb in stashify-1.0.3

- old
+ new

@@ -22,7 +22,12 @@ write_directory(file) else write_file(file) end end + + def write_directory(directory) + subdir = self.directory(directory.name) + directory.files.each { |file| subdir.write(file) } + end end end