Class MARC::Writer
In: lib/marc/writer.rb
Parent: Object

A class for writing MARC records as MARC21.

Methods

close   encode   new   write  

Public Class methods

a static method that accepts a MARC::Record object and returns the record encoded as MARC21 in transmission format

the constructor which you must pass a file path or an object that responds to a write message

Public Instance methods

close underlying filehandle

write a record to the file or handle

[Validate]