SBDB::Unknown: Blocks are nice
This commit is contained in:
parent
02791744a6
commit
72aa9c8599
|
@ -77,7 +77,7 @@ module SBDB
|
|||
|
||||
class Unknown < DB
|
||||
def self.new file, name, *p, &e
|
||||
db = super( file, name, UNKNOWN, *p) { db.bdb_object.get_type }
|
||||
db = super( file, name, UNKNOWN, *p) {|db| db.bdb_object.get_type }
|
||||
TYPES[dbt] ? TYPES[dbt].new( file, name, *p, &e) : super( file, name, UNKNOWN, *p, &e)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue