rubyx/test/bench/soml/object.soml

18 lines
240 B
Plaintext
Raw Normal View History

class Object
Type get_type()
return self.type
2015-11-07 18:38:52 +01:00
end
Class get_class()
Type l = self.type
2015-11-30 15:10:08 +01:00
return l.object_class
end
2015-11-30 15:10:08 +01:00
Word get_class_name()
Type l = self.type
2015-11-30 15:10:08 +01:00
Class c = l.object_class
return c.name
end
end