adds collect for the statements

This commit is contained in:
Torsten Ruger
2017-04-08 12:10:42 +03:00
parent 0fe5685ad4
commit 8942f42310
10 changed files with 85 additions and 1 deletions

View File

@ -5,5 +5,12 @@ module Vool
def initialize(name , receiver , arguments = [])
@name , @receiver , @arguments = name , receiver , arguments
end
def collect(arr)
@receiver.collect(arr)
@arguments.collect(arr)
super
end
end
end