diff --git a/lib/sbdb/cursor.rb b/lib/sbdb/cursor.rb index 50454a7..acc7d3d 100644 --- a/lib/sbdb/cursor.rb +++ b/lib/sbdb/cursor.rb @@ -30,7 +30,7 @@ module SBDB def initialize ref @cursor, @db = *case ref 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] end end