Method: MARC::XMLWriter#write
- Defined in:
- lib/marc/xmlwriter.rb
#write(record) ⇒ Object
write a record to the file or handle
57 58 59 60 |
# File 'lib/marc/xmlwriter.rb', line 57 def write(record) @writer.write(MARC::XMLWriter.encode(record), @fh) @fh.write("\n") end |