Class: Docbook::Elements::InformalExample

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Includes:
DocbookElement, Identifiable, Numberable
Defined in:
lib/docbook/elements/informalexample.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 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)


13
14
15
# File 'lib/docbook/elements/informalexample.rb', line 13

def formal?
  true
end

#list_of_categoryObject



17
18
19
# File 'lib/docbook/elements/informalexample.rb', line 17

def list_of_category
  LIST_OF_CATEGORY
end