Module: IsoDoc::Ribose::BaseConvert

Included in:
HtmlConvert, WordConvert
Defined in:
lib/isodoc/ribose/base_convert.rb

Instance Method Summary collapse

Instance Method Details

#clausedelimObject



21
22
23
# File 'lib/isodoc/ribose/base_convert.rb', line 21

def clausedelim
  ""
end

#executivesummary(clause, out) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'lib/isodoc/ribose/base_convert.rb', line 4

def executivesummary(clause, out)
  title_attr = { class: "IntroTitle" }
  page_break(out)
  out.div class: "Section3", id: clause["id"] do |div|
    clause_name(clause, clause&.at(ns("./title")), div, title_attr)
    clause.elements.each do |e|
      parse(e, div) unless e.name == "title"
    end
  end
end

#is_clause?(name) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
18
19
# File 'lib/isodoc/ribose/base_convert.rb', line 15

def is_clause?(name)
  return true if name == "executivesummary"

  super
end