Class: Docbook::Elements::Example

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Includes:
DocbookElement, Identifiable, Numberable, Titled
Defined in:
lib/docbook/elements/example.rb

Constant Summary collapse

NUMBERING_ROLE =
:example
LIST_OF_CATEGORY =
:examples

Instance Method Summary collapse

Methods included from Numberable

#numbering_role

Methods included from Identifiable

#element_id

Methods included from Titled

#has_title?, #resolve_title, #titled?

Methods included from DocbookElement

#callout_marker?, #colsep, #content, #element_id, #fileref, #frame, #has_title?, #imagedata, #imageobject, #index_term?, #indexterm, #info, #media_children, #number, #numberable?, #numbering_role, #resolve_title, #rowsep, #section_like?, #stats_category, #text, #title, #titled?, #toc_children, #try_add_inline, #videoobject, #walk_children, #xml_id, #xref?

Instance Method Details

#formal?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/docbook/elements/example.rb', line 14

def formal?
  true
end

#list_of_categoryObject



18
19
20
# File 'lib/docbook/elements/example.rb', line 18

def list_of_category
  LIST_OF_CATEGORY
end