From b01559ef1339dba501928787eb1d36624c2e5a3e Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Mon, 29 Mar 2010 11:45:57 +0200 Subject: [PATCH] typos --- lib/sbdb/db.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sbdb/db.rb b/lib/sbdb/db.rb index 089f707..4ca1a86 100644 --- a/lib/sbdb/db.rb +++ b/lib/sbdb/db.rb @@ -118,12 +118,12 @@ module SBDB super [key].pack('I') end - def []= key, v + def []= key, val super [key].pack('I'), val end def push val, txn = nil - @db.put _txn(txn), "\0\0\0\0", v, Bdb::DB_APPEND + @db.put _txn(txn), "\0\0\0\0", val, Bdb::DB_APPEND end end