lib/bulldog/stream.rb in bulldog-0.0.5 vs lib/bulldog/stream.rb in bulldog-0.0.6
- old
+ new
@@ -86,9 +86,16 @@
unless src == dst
FileUtils.mkdir_p File.dirname(path)
FileUtils.cp src, dst
end
end
+
+ #
+ # Reload data from the target.
+ #
+ def reload
+ @content_type = nil
+ end
end
class ForTempfile < Base
def initialize(target)
super