lib/fiveruns/dash/store/file.rb in fiveruns-dash-ruby-0.8.3 vs lib/fiveruns/dash/store/file.rb in fiveruns-dash-ruby-0.8.4

- old
+ new

@@ -8,10 +8,10 @@ write_to filename(directory) end end def write_to(path) - ::File.open(path, 'w') { |f| f.write @payload.to_json } + ::File.open(path, 'w') { |f| f.write @payload.to_fjson } end def filename(directory) kind = payload.class.name =~ /(\w+)Payload/ name = kind ? $1 : 'unknown' \ No newline at end of file