Renaming Vool exppressions rightly
Class, Method and Lambda (was block) are expressions. Just making things clearer, especially for the blocks (ahem, lambdas) is matters. wip
This commit is contained in:
@ -14,7 +14,7 @@ module Ruby
|
||||
else
|
||||
@body = replace_return( @body )
|
||||
end
|
||||
Vool::MethodStatement.new( @name , @args.dup , @body.to_vool)
|
||||
Vool::MethodExpression.new( @name , @args.dup , @body.to_vool)
|
||||
end
|
||||
|
||||
def replace_return(statement)
|
||||
|
Reference in New Issue
Block a user