[Instantrails-users] REXML question
curt.hibbs at gmail.com
Sat Apr 29 11:52:55 EDT 2006
On 4/29/06, David Morton <mortonda at dgrmm.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
> Irb tries to output some descriptive text about the object. So this is
> 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...
More information about the Instantrails-users