Re: [CODE4LIB] Documentation request for the marc gem

2011-03-17 Thread Tony Zanella
Hi Ross and Ed, Thanks for suggesting the pull request I just submitted. Sorry I didn't submit it from a topic branch, as github recommended. My only excuse is that I was learning how to do it on the fly (git n00b) :) And thanks also for the gem--it has been very helpful for me in developing a

Re: [CODE4LIB] Documentation request for the marc gem

2011-03-16 Thread Ed Summers
Hi Tony, Just in case it wasn't obvious, the source code is on GitHub [1]. As Ross said, please consider forking it and sending a pull request for any documentation improvements you want to do. //Ed [1] https://github.com/ruby-marc/ruby-marc On Tue, Mar 15, 2011 at 3:18 PM, Ross Singer

Re: [CODE4LIB] Documentation request for the marc gem

2011-03-16 Thread Ross Singer
Thanks, Ed. That would have been a useful tidbit for me to have added :) Also, if there's interest, we can set up the Github Wiki for ruby-marc. There is some functionality that would be difficult to explain (including the pros and cons) about in the rdocs, such as the XML parsers (and to write

[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