[CODE4LIB] Documentation request for the marc gem

2011-03-15 Thread Tony Zanella
Hello all, If I may suggest adding to the documentation for the marc gem (http://marc.rubyforge.org/)... Currently, the documentation gives examples for how to read, create and write MARC records. The source code also includes an encode method in MARC::Writer, which came in handy for me when

Re: [CODE4LIB] Documentation request for the marc gem

2011-03-15 Thread Ross Singer
Hi Tony, I'm glad that ruby-marc appears to be generally useful. Another (even simpler) way to do what you want is: record.to_marc Which, I think, would do the same thing you're doing with MARC::Writer.encode. If you want to write up a block of text to plop into the README, feel free to send