[Groonga-commit] droonga/http-benchmark at 37e41be [master] Generate a CSV correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Oct 9 16:50:03 JST 2013


YUKI Hiroshi	2013-10-09 16:50:03 +0900 (Wed, 09 Oct 2013)

  New Revision: 37e41beec0a16f16a651ae9a87b2d42fc6623b92
  https://github.com/droonga/http-benchmark/commit/37e41beec0a16f16a651ae9a87b2d42fc6623b92

  Message:
    Generate a CSV correctly

  Modified files:
    lib/droonga/http-benchmark/gradual-runner.rb

  Modified: lib/droonga/http-benchmark/gradual-runner.rb (+3 -1)
===================================================================
--- lib/droonga/http-benchmark/gradual-runner.rb    2013-10-09 16:43:13 +0900 (cd9589d)
+++ lib/droonga/http-benchmark/gradual-runner.rb    2013-10-09 16:50:03 +0900 (2bf39b5)
@@ -57,7 +57,9 @@ module Droonga
         end
 
         def to_csv
-          ([csv_header] + csv_body).to_csv
+          ([csv_header] + csv_body).collect do |row|
+            CSV.generate_line(row)
+          end.join("\n")
         end
 
         private
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index