Method: IsoDoc::PresentationXMLConvert#eref_locality_stack
- Defined in:
- lib/isodoc/presentation_function/erefs.rb
#eref_locality_stack(ref, idx, target, node) ⇒ Object
114 115 116 117 118 119 120 121 122 123 |
# File 'lib/isodoc/presentation_function/erefs.rb', line 114 def eref_locality_stack(ref, idx, target, node) ret = [] if ref.name == "localityStack" ret = eref_locality_stack1(ref, target, node, ret) else l = eref_localities0(ref, idx, target, node) and ret << l end ret[-1] == ", " and ret.pop ret end |