Method: IsoDoc::PresentationXMLConvert#eref_localities1_zh
- Defined in:
- lib/isodoc/presentation_function/erefs.rb
#eref_localities1_zh(opt) ⇒ Object
167 168 169 170 171 172 173 |
# File 'lib/isodoc/presentation_function/erefs.rb', line 167 def eref_localities1_zh(opt) ret = "第#{opt[:from]}" if opt[:from] ret += "–#{opt[:upto]}" if opt[:upto] loc = eref_locality_populate(opt[:type], opt[:node], "sg") ret += " #{loc}" unless opt[:node]["droploc"] == "true" ret end |