class Midos::Writer::ThesaurusX
Constants
- EPILOGUE
- NAME
- PROLOGUE
Private Instance Methods
merge_records(hash, *)
click to toggle source
Calls superclass method
Midos::Writer::Thesaurus#merge_records
# File lib/midos/writer.rb 249 def merge_records(hash, *) 250 idmap = hash[:__list__] = Hash.idmap 251 252 super 253 254 idmap.replace(nil => idmap.map { |key, id| "#{key}|DE|#{id}" }) 255 end
resolve(key, value, hash, *)
click to toggle source
# File lib/midos/writer.rb 261 def resolve(key, value, hash, *) 262 value.map { |id| hash[:__list__][id] } 263 end
resolve_from_to(*)
click to toggle source
# File lib/midos/writer.rb 257 def resolve_from_to(*) 258 # nothing to do 259 end