Method: IsoDoc::Function::Section#foreword

Defined in:
lib/isodoc/function/section.rb

#foreword(clause, out) ⇒ Object



103
104
105
106
107
108
109
110
# File 'lib/isodoc/function/section.rb', line 103

def foreword(clause, out)
  page_break(out)
  out.div **attr_code(id: clause["id"]) do |s|
    clause_name(clause, clause.at(ns("./fmt-title")), s,
                { class: "ForewordTitle" })
    clause.elements.each { |e| parse(e, s) unless e.name == "fmt-title" }
  end
end