Method: MARC::Writer#write

Defined in:
lib/marc/writer.rb

#write(record) ⇒ Object

write a record to the file or handle



49
50
51
# File 'lib/marc/writer.rb', line 49

def write(record)
  @fh.write(MARC::Writer.encode(record, allow_oversized))
end