lib/zebra/epl/label.rb in zebra-epl-0.0.5 vs lib/zebra/epl/label.rb in zebra-epl-0.0.6
- old
+ new
@@ -60,10 +60,10 @@
end
def persist
tempfile = Tempfile.new "zebra_label"
dump_contents tempfile
- tempfile.rewind
+ tempfile.close
@tempfile = tempfile
tempfile
end
def persisted?