Method: IsoDoc::Function::Section#freestanding_title
- Defined in:
- lib/isodoc/function/section_titles.rb
#freestanding_title(node, out) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/isodoc/function/section_titles.rb', line 21 def freestanding_title(node, out) parents = node.ancestors("clause, annex, terms, references, " \ "definitions, acknowledgements, introduction, " \ "foreword") clause_parse_title(parents.empty? ? node : parents.first, out, node, out) end |