type attr cleanup
and sizes up top
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user