correct register types
This commit is contained in:
parent
9ab7b476d5
commit
5d80c38c87
@ -83,6 +83,11 @@ module Parfait
|
||||
(1 + has / 2).to_i # to_i for opal
|
||||
end
|
||||
|
||||
def type_at index
|
||||
type_index = index * 2
|
||||
get(type_index)
|
||||
end
|
||||
|
||||
def inspect
|
||||
"Layout[#{super}]"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user