# File lib/asciidoctor/document.rb, line 681 def first_section has_header? ? @header : (@blocks || []).detect{|e| e.context == :section } end