lib/tori/file.rb in tori-0.0.9 vs lib/tori/file.rb in tori-0.1.0

- old
+ new

@@ -17,13 +17,13 @@ def from? !@from.nil? && @from.respond_to?(:path) end - def write + def write(opts = nil) path = @from.path path = Pathname.new(path) if path.kind_of?(String) - Tori.config.backend.write name, path + Tori.config.backend.write name, path, opts end def delete Tori.config.backend.delete name if exist? end