class Asciidoctor::Document

def first_section

QUESTION move to AbstractBlock?
def first_section
  has_header? ? @header : (@blocks || []).detect{|e| e.is_a? Section}
end