Class: Docbook::Elements::Bibliomixed

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

Constant Summary collapse

STATS_CATEGORY =
:bibliography_entry

Instance Method Summary collapse

Methods included from Titled

#has_title?, #titled?

Methods included from DocbookElement

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

Instance Method Details

#resolve_titleObject



15
16
17
18
# File 'lib/docbook/elements/bibliomixed.rb', line 15

def resolve_title
  abbrev&.content&.join ||
    citetitle&.first&.then { |ct| ct&.content&.join }
end

#stats_categoryObject



11
12
13
# File 'lib/docbook/elements/bibliomixed.rb', line 11

def stats_category
  STATS_CATEGORY
end