implement how send should work (but parfait doesn't parse yet, so it doesnt)

This commit is contained in:
Torsten Ruger
2014-09-23 20:16:05 +03:00
parent f5ec7f3bdb
commit 892f251d18
4 changed files with 11 additions and 2 deletions

View File

@ -34,6 +34,10 @@ module Builtin
function.set_return ret
function
end
def __send__ context
function = Virtual::CompiledMethod.new(:__send__ , [] , Virtual::Integer)
return function
end
end
extend ClassMethods
end