remove method source receiver
no harm done it seems
This commit is contained in:
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user