moving away from the attributes aproach, tests fixed
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user