Method: IsoDoc::Function::Blocks#example_label
- Defined in:
- lib/isodoc/function/blocks.rb
#example_label(node) ⇒ Object
73 74 75 76 77 |
# File 'lib/isodoc/function/blocks.rb', line 73 def example_label(node) n = get_anchors[node["id"]] return @example_lbl if n.nil? || n[:label].nil? || n[:label].empty? l10n("#{@example_lbl} #{n[:label]}") end |