Method: IsoDoc::Function::XrefGen#anchor_struct_xref

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

#anchor_struct_xref(lbl, elem) ⇒ Object



153
154
155
156
157
158
159
# File 'lib/isodoc/function/xref_gen.rb', line 153

def anchor_struct_xref(lbl, elem)
  case elem
  when @formula_lbl then l10n("#{elem} (#{lbl})")
  else
    l10n("#{elem} #{lbl}")
  end
end