Method: IsoDoc::PresentationXMLConvert#cjk_search
- Defined in:
- lib/isodoc/presentation_function/title.rb
#cjk_search ⇒ Object
57 58 59 60 61 62 |
# File 'lib/isodoc/presentation_function/title.rb', line 57 def cjk_search lang = %w(zh ja ko).map { |x| "@language = '#{x}'" }.join(" or ") %(Hans Hant Jpan Hang Kore).include?(@script) and lang += " or not(@language)" lang end |