Class Flukso::FluksoDB
In: lib/flukso/database.rb
Parent: Object

Methods

Public Class methods

See: freshmeat.net/articles/templates-in-ruby template: Returns a string formed from a template and replacement values

templateStr - The template string (format shown below) values - A hash of replacement values

Example format:

  "Dear :::customer:::,\nPlease pay us :::amount:::.\n"

The "customer" and "amount" strings are used as keys to index against the values hash.

constuctor: give SQLite::Database object as argument. see class methods.

open an existing database

Public Instance methods

Appends the readings of the provided array to the database.

Avoid redundant code. Takes a block and executes it on the query data. See innig.net/software/ruby/closures-in-ruby.rb

[Validate]