fix module handling at ruby level

Was returning arrays instead of Statements, which messed things up
This commit is contained in:
2019-09-06 21:00:37 +03:00
parent 646797301e
commit 363d1cb36f
5 changed files with 29 additions and 13 deletions

View File

@ -26,6 +26,8 @@ module Ruby
sendd.arguments << lambda
ret
end
def to_s(depth = 0)
at_depth(depth , "{|#{@args.join(',')}| #{@body}}")
end
end
end