type attr cleanup

and sizes up top
This commit is contained in:
2019-09-10 00:18:20 +03:00
parent d82cedf4c0
commit c3c2ab606c
16 changed files with 61 additions and 44 deletions

View File

@ -15,6 +15,14 @@
module Parfait
class Object
attr_reader :type
def self.type_length
1
end
def self.memory_size
4
end
def type=(t)
set_type( t )
end