class MARC::Writer

However, if you set ‘allow_oversized` to true, then the Writer will write these records out anyway, filling in any binary length/offset slots with all 0’s, if they are not wide enough to hold the true value. While these records are illegal, they can still be read back in using the MARC::ForgivingReader, as well as other platform MARC readers in tolerant mode.

If you set ‘allow_oversized` to false on the Writer, a MARC::Exception will be raised instead, if you try to write an oversized record.

writer = Writer.new(some_path)
writer.allow_oversized = true