Cursor: Typo

This commit is contained in:
Denis Knauf 2010-02-02 15:12:58 +01:00
parent 4cf0388c5b
commit e9e06b1b99

View file

@ -30,7 +30,7 @@ module SBDB
def initialize ref def initialize ref
@cursor, @db = *case ref @cursor, @db = *case ref
when Cursor then [ref.bdb_object.dup, ref.db] when Cursor then [ref.bdb_object.dup, ref.db]
when Bd::Db::Cursor then [ref] when Bdb::Db::Cursor then [ref]
else [ref.bdb_object.cursor( nil, 0), ref] else [ref.bdb_object.cursor( nil, 0), ref]
end end
end end