[Instantrails-users] REXML question

Curt Hibbs curt.hibbs at gmail.com
Sat Apr 29 11:52:55 EDT 2006

On 4/29/06, David Morton <mortonda at dgrmm.net> wrote:
> Hash: SHA1
> Bill Walton wrote:
> > irb(main):003:0> doc=REXML::Document.new file
> > => <UNDEFINED> ... </>
> > [BW]  I assume the <UNDEFINED> error message above is referring to
> > Document.  One thing I don't understand though is why the 'require' on
> I don't think that's an error, I think <UNDEFINED> is part of the XML
> object.
> Irb tries to output some descriptive text about the object.  So this is
> normal.
> Indeed, I tried a "puts doc"  next, and it printed the document.

Yes, David is correct. I tried "doc.methods" and got a nice list of all the
REXML Document methods.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060429/403da6f5/attachment.htm 

More information about the Instantrails-users mailing list