fix each val
This commit is contained in:
parent
fb82cbc54d
commit
53567aa788
|
@ -51,9 +51,8 @@ module Samples
|
||||||
puts result.inspect
|
puts result.inspect
|
||||||
data = []
|
data = []
|
||||||
rows = result.values.length
|
rows = result.values.length
|
||||||
|
rows.times.each do |row|
|
||||||
rows.times.each do |k|
|
data.push(result.values[row])
|
||||||
data.push(result.values[k])
|
|
||||||
end
|
end
|
||||||
print_table(data)
|
print_table(data)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue