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, line 248
def merge_records(hash, *)
  idmap = hash[:__list__] = Hash.idmap

  super

  idmap.replace(nil => idmap.map { |key, id| "#{key}|DE|#{id}" })
end
resolve(key, value, hash, *) click to toggle source
# File lib/midos/writer.rb, line 260
def resolve(key, value, hash, *)
  value.map { |id| hash[:__list__][id] }
end
resolve_from_to(*) click to toggle source
# File lib/midos/writer.rb, line 256
def resolve_from_to(*)
  # nothing to do
end