Method: ATP::Processors::AddIDs#run
- Defined in:
- lib/atp/processors/add_ids.rb
#run(node) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/atp/processors/add_ids.rb', line 5 def run(node) @i = 0 @existing_ids = [] @add_ids = false # First collect all existing IDs, this is required to make sure # that a generated ID does not clash with an existing one process(node) # Now run again to fill in the blanks @add_ids = true process(node) end |