rubyx/lib/parfait/symbol_adapter.rb
2017-01-18 20:09:43 +02:00

17 lines
225 B
Ruby

class Symbol
def has_type?
true
end
def get_type
l = Parfait.object_space.classes[:Word].instance_type
#puts "LL #{l.class}"
l
end
def padded_length
Padding.padded( to_s.length + 4)
end
end