Method: IsoDoc::Function::XrefGen#anchor_struct_label

Defined in:
lib/isodoc/function/xref_gen.rb

#anchor_struct_label(lbl, elem) ⇒ Object



145
146
147
148
149
150
151
# File 'lib/isodoc/function/xref_gen.rb', line 145

def anchor_struct_label(lbl, elem)
  case elem
  when @appendix_lbl then l10n("#{elem} #{lbl}")
  else
    lbl.to_s
  end
end