Method: IsoDoc::PresentationXMLConvert#trim_hash

Defined in:
lib/isodoc/presentation_function/metadata.rb

#trim_hash(hash) ⇒ Object



125
126
127
128
129
130
131
132
# File 'lib/isodoc/presentation_function/metadata.rb', line 125

def trim_hash(hash)
  loop do
    h_new = trim_hash1(hash)
    break hash if hash == h_new

    hash = h_new
  end
end