adds collect for the statements
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user