#!/usr/bin/env ruby $:.unshift File.join(File.dirname(__FILE__), "../../lib/") require 'sqlpostgres' include SqlPostgres Connection.open do |connection| connection.exec("create temporary table person (name text)") # Example: ../manual.dbk insert = Insert.new('person', connection) insert.insert('name', 'Fred') insert.exec # End example end