248 249 250 251 252
# File 'lib/duby/transform.rb', line 248 def transform(transformer, parent) Array.new(parent, position) do |array| child_nodes.map {|child| transformer.transform(child, array)} end end