This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
load 'creditCard.rb' | |
require 'sqlite3' | |
begin | |
db = SQLite3::Database.new "test.db" | |
db = SQLite3::Database.open "test.db" | |
db.execute "CREATE TABLE IF NOT EXISTS People(Id INTEGER PRIMARY KEY, | |
Name TEXT, Credit TEXT, Limit INT, Price INT)" |