Skip to content

Instantly share code, notes, and snippets.

@sushant12
Created June 2, 2017 09:08
Show Gist options
  • Save sushant12/5fae7327e6514cb66ed17ed0fb10b700 to your computer and use it in GitHub Desktop.
Save sushant12/5fae7327e6514cb66ed17ed0fb10b700 to your computer and use it in GitHub Desktop.
requiring
require ‘erb’
require “sqlite3”
DB = SQLite3::Database.new “test.db”
rows = db.execute <<-SQL
create table tasks ( name varchar(30), finished int );
SQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment