README.md in sqlite_ext-0.2.0 vs README.md in sqlite_ext-0.2.1

- old
+ new

@@ -1,9 +1,9 @@ # SqliteExt Provides a convenient way of writing functions in Ruby that can -be called from with in SQLite queries through the SQLite3 gem. +be called from within SQLite queries through the SQLite3 gem. Although it is already possible to write ruby code for functions that can be called from within SQL queries using SQLite via the SQLite3 gem, that has some limitations which this gem seeks to address. @@ -35,10 +35,10 @@ $ gem install sqlite_ext ## Usage - SqliteExt.register_function('sqrt', 1){ |x| Math.sqrt(x) } + SqliteExt.register_function('sqrt'){ |x| Math.sqrt(x) } SQLite3::Database.new 'data.db' do |db| puts db.execute("SELECT sqrt(25)")[0][0] end # Output: 5.0