Skip to content

Instantly share code, notes, and snippets.

@adnandossaji
adnandossaji / basicCC.rb
Created December 5, 2014 20:44
creditCard
#!/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)"