moving away from the attributes aproach, tests fixed

This commit is contained in:
Torsten Ruger
2014-08-14 19:24:18 +03:00
parent 2c2ae14928
commit 0a33f940cf
7 changed files with 84 additions and 55 deletions

View File

@ -34,9 +34,6 @@ module Virtual
def MethodDefinition.main
MethodDefinition.new(:main , [] , Virtual::SelfReference )
end
def attributes
[:name , :args , :receiver , :return_type , :blocks]
end
def initialize name , args , receiver = Virtual::SelfReference.new , return_type = Virtual::Mystery , start = MethodEnter.new()
@name = name.to_sym
@args = args