Successfully interpret class methods

just about closes #24
This commit is contained in:
Torsten Ruger
2019-02-27 09:48:21 +02:00
parent 461a6933c6
commit eec72a9fca
5 changed files with 50 additions and 6 deletions

View File

@ -1,5 +1,5 @@
class Space
def main(arg)
return 2 +2
return 2 + 2
end
end

View File

@ -0,0 +1,8 @@
class Space
def self.simple
return 2 + 2
end
def main(arg)
return Space.simple
end
end