Method: IsoDoc::PresentationXMLConvert#designation_localization
- Defined in:
- lib/isodoc/presentation_function/concepts.rb
#designation_localization(desgn, name, orig_desgn) ⇒ Object
236 237 238 239 240 241 242 |
# File 'lib/isodoc/presentation_function/concepts.rb', line 236 def designation_localization(desgn, name, orig_desgn) loc = [desgn.at(ns("./expression/@language"))&.text, desgn.at(ns("./expression/@script"))&.text, orig_desgn.at("./@geographic-area")&.text].compact loc.empty? and return name << ", #{loc.join(' ')}" end |