Eno::Section » #sections

sections(name) → array

Retrieve subsections with the specified name from this current section.

eno# Article
> ...

# Article
> ...
rubydocument = Eno.parse(input)

sections = document.sections('Article')

sections.each do |section|
  # do something with each Article
end

Parameters

name

A string specifying the name of the sections to retrieve.

Return value

An array of Eno::Sections.