lib/macros4cuke/coll-walker-factory.rb in macros4cuke-0.5.12 vs lib/macros4cuke/coll-walker-factory.rb in macros4cuke-0.5.13
- old
+ new
@@ -76,10 +76,10 @@
private
# Add children elements to the visit backlog
def add_children(anEnumerable, theBacklog)
- anEnumerable.reverse.each do |elem|
+ anEnumerable.reverse_each do |elem|
theBacklog.unshift(elem)
end
end
# Generate an on_step event