fix bug which update fails when there's no rows

This commit is contained in:
Masakazu OHTSUKA
2014-06-02 23:41:43 +09:00
parent ebf39775c3
commit 838e0eab5e

View File

@@ -103,7 +103,7 @@ class PartSheet
new_row[ key ] = value if (key && ! key.empty?)
end
puts "insert Part: #{ found_row["Parts"]}?"
puts "insert Part: #{ new_row["Parts"]} ?"
puts " Value=#{ new_row["Value"] } Device=#{ new_row["Device"] } Parts=#{ new_row["Parts"] }"
puts "(Y/n)"
input = STDIN.gets.chomp