class SQLite3::Database

def quote( string )

single-quote characters. The modified string is returned.
It replaces all instances of the single-quote character with two
Quotes the given string, making it safe to use in an SQL statement.
def quote( string )
  string.gsub( /'/, "''" )
end