Sha256: d4d52db37b25a2deea13835f00b8ed2e23a4f14c530e127f1ccb5d90792410fa
Contents?: true
Size: 578 Bytes
Versions: 4
Compression:
Stored size: 578 Bytes
Contents
module BlacklightMarcHelper # puts together a collection of documents into one refworks export string def render_refworks_texts(documents) val = '' documents.each do |doc| if doc.respond_to?(:to_marc) val += doc.export_as_refworks_marc_txt + "\n" end end val end # puts together a collection of documents into one endnote export string def render_endnote_texts(documents) val = '' documents.each do |doc| if doc.respond_to?(:to_marc) val += doc.export_as_endnote + "\n" end end val end end
Version data entries
4 entries across 4 versions & 2 rubygems