rubyx/test/mains/source/13_simple-class__4.rb
Torsten Rüger 41eccb9382 Removing preloads from mains tests
Instead of loading all preload for all tests, adding just those functions that are needed for each. Should reduce test times.

Also renaming tests to give some indication of difficulty. Alas they are not run in that order.
2019-09-24 22:05:38 +03:00

14 lines
173 B
Ruby

class Integer < Data4
def +(right)
X.int_operator(:+)
end
end
class Space
def self.simple
return 2 + 2
end
def main(arg)
return Space.simple
end
end