method

extract_sections

v1_8_6_287 - Show latest stable - Class: RDoc
extract_sections(flow, sections)
private

Given an array of flow items and an array of section names, extract those sections from the flow which have headings corresponding to a section name in the list. Return them in the order of names in the sections array.