Method: IsoDoc::XrefGen::Blocks#hierarchical_permission_children
- Defined in:
- lib/isodoc/xref/xref_gen_seq.rb
#hierarchical_permission_children(block, lbl) ⇒ Object
219 220 221 222 223 224 225 226 227 228 |
# File 'lib/isodoc/xref/xref_gen_seq.rb', line 219 def (block, lbl) c = ReqCounter.new block.xpath(ns(REQ_CHILDREN)).noblank.each do |t| m = @reqt_models.model(t["model"]) klass, label = reqt2class_nested_label(t, m) id = "#{lbl}#{hierfigsep}#{c.increment(label, t).print}" (id, t, label, klass, m) (t, id) end end |