lib/atp/processors/add_ids.rb in atp-0.8.0 vs lib/atp/processors/add_ids.rb in atp-1.0.0
- old
+ new
@@ -23,9 +23,10 @@
@existing_ids << id.value
end
process_all(node)
end
end
+ alias_method :on_group, :on_test
def on_id(node)
if @add_ids
unless node.value
node.updated(nil, [next_id])