woggle
This commit is contained in:
parent
f441da9f18
commit
da7476fe70
|
@ -110,8 +110,8 @@ module SBDB
|
||||||
ps.last[:env] = self
|
ps.last[:env] = self
|
||||||
name, flg, type =
|
name, flg, type =
|
||||||
String === ps[0] ? ps[0] : ps.last[:name],
|
String === ps[0] ? ps[0] : ps.last[:name],
|
||||||
Fixnum === ps[1] ? ps[1] : ps.last[:flags],
|
Fixnum === ps[2] ? ps[2] : ps.last[:flags],
|
||||||
Fixnum === ps[2] ? ps[2] : ps.last[:type]
|
Fixnum === ps[1] ? ps[1] : ps.last[:type]
|
||||||
@dbs[ [file, name, flg | CREATE]] ||= (type || SBDB::Unknown).new file, *ps, &exe
|
@dbs[ [file, name, flg | CREATE]] ||= (type || SBDB::Unknown).new file, *ps, &exe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue