remove method source receiver

no harm done it seems
This commit is contained in:
Torsten Ruger
2015-10-28 14:24:14 +02:00
parent e75517ff05
commit 72b790c107
3 changed files with 1 additions and 4 deletions

View File

@ -32,7 +32,6 @@ module Register
def putint context
putint_function = MethodSource.create_method(:Integer,:putint , [] )
putint_function.source.receiver = :Integer
return putint_function
# buffer = Parfait::Word.new(" ") # create a buffer
# context.object_space.add_object buffer # and save it (function local variable: a no no)
@ -60,7 +59,6 @@ module Register
# not my hand off course, found in the net http://www.peter-cockerell.net/aalp/html/ch-5.html
def fibo context
fibo_function = MethodSource.create_method(:Integer,:fibo , [] )
fibo_function.source.receiver = :Integer
return fibo_function
# int = fibo_function.receiver
#