replace arrays with Statements class

This commit is contained in:
Torsten Ruger
2017-09-06 12:51:24 +03:00
parent 9a1e4a6f27
commit 80c3430536
7 changed files with 16 additions and 9 deletions

View File

@ -34,7 +34,7 @@ module Vool
# in a not so distant future, temporary variables will have to be created
# and complex statements hoisted to assign to them. pps: same as in conditions
def to_mom( method )
message_setup + call_instruction
Mom::Statements.new( message_setup + call_instruction )
end
def message_setup