Sha256: 9a86c196a9c7a8153972c12714eac2a03d304239c741c43dcb102cd1cf187eaa

Contents?: true

Size: 662 Bytes

Versions: 7

Compression:

Stored size: 662 Bytes

Contents

module IsoDoc
  module Ribose
    module BaseConvert
      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

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

        super
      end

      def clausedelim
        ""
      end

      def configuration
        Metanorma::Ribose.configuration
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
metanorma-ribose-2.5.6 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.5 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.4 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.3 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.2 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.1 lib/isodoc/ribose/base_convert.rb
metanorma-ribose-2.5.0 lib/isodoc/ribose/base_convert.rb