Method: IsoDoc::PresentationXMLConvert#eref_locality_stack
- Defined in:
- lib/isodoc/presentation_function/erefs.rb
#eref_locality_stack(ref, idx, target, node) ⇒ Object
133 134 135 136 137 138 139 140 141 142 |
# File 'lib/isodoc/presentation_function/erefs.rb', line 133 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 |