moving from collect to each
when iterating over tree. Much cleaner, less hokuspukus methods that are noops Mom is coming back out, but not linked yet
This commit is contained in:
@ -28,10 +28,6 @@ module Common
|
||||
@statements << o
|
||||
self
|
||||
end
|
||||
def collect(arr)
|
||||
@statements.each { |s| s.collect(arr) }
|
||||
super
|
||||
end
|
||||
def add_array(a)
|
||||
@statements += a
|
||||
end
|
||||
|
Reference in New Issue
Block a user