Method: IsoDoc::XrefGen::Anchor#anchor_struct_label
- Defined in:
- lib/isodoc/xref/xref_anchor.rb
#anchor_struct_label(lbl, elem) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/isodoc/xref/xref_anchor.rb', line 32 def anchor_struct_label(lbl, elem) case elem when @labels["appendix"] then l10n("#{elem} #{lbl}") else lbl.to_s end end |