fix each val

This commit is contained in:
tknzk 2016-05-26 17:04:11 +09:00
parent fb82cbc54d
commit 53567aa788
No known key found for this signature in database
GPG Key ID: DDE06D041366598D
1 changed files with 2 additions and 3 deletions

View File

@ -51,9 +51,8 @@ module Samples
puts result.inspect
data = []
rows = result.values.length
rows.times.each do |k|
data.push(result.values[k])
rows.times.each do |row|
data.push(result.values[row])
end
print_table(data)
end