Fixing ruby send with arguments
When send has complex args, mostly more sends, we hoist those out and pass created temporary variables
This commit is contained in:
@ -30,6 +30,9 @@ module Vool
|
||||
def prepend(o)
|
||||
@statements = [o] + @statements
|
||||
end
|
||||
def shift
|
||||
@statements.shift
|
||||
end
|
||||
|
||||
# to_mom all the statements. Append subsequent ones to the first, and return the
|
||||
# first.
|
||||
|
Reference in New Issue
Block a user