correct register types

This commit is contained in:
Torsten Ruger 2015-11-09 23:28:10 +02:00
parent 9ab7b476d5
commit 5d80c38c87

View File

@ -83,6 +83,11 @@ module Parfait
(1 + has / 2).to_i # to_i for opal (1 + has / 2).to_i # to_i for opal
end end
def type_at index
type_index = index * 2
get(type_index)
end
def inspect def inspect
"Layout[#{super}]" "Layout[#{super}]"
end end