rubyx/test/mains/source/classname_Space_5.rb
Torsten Rüger 6811fc4174 fix interpreter to output symbols
which amazingly lets us get at classnames etc
2019-09-08 15:31:03 +03:00

19 lines
187 B
Ruby

class Class
def name
@name
end
end
class Type
def name
@object_class.name
end
end
class Space
def type
@type
end
def main(arg)
type.name.putstring
end
end