plotrobber 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/plotrobber.rb +1 -1
- data/lib/plotrobber/version.rb +1 -1
- metadata +1 -1
data/lib/plotrobber.rb
CHANGED
@@ -24,7 +24,7 @@ class Gnuplot::Plot
|
|
24
24
|
def store(data)
|
25
25
|
(@store ||= {})[data] ||= begin
|
26
26
|
file = Tempfile.new(['plotrobber.','.dat'])
|
27
|
-
file.write Array(data).map{|x|x.join("\t")}.join("\n")
|
27
|
+
file.write Array(data).map{|x|Array(x).join("\t")}.join("\n")
|
28
28
|
file.write "\n"
|
29
29
|
file.rewind
|
30
30
|
|
data/lib/plotrobber/version.rb
CHANGED