[Instantrails-users] REXML question

David Morton mortonda at dgrmm.net
Sat Apr 29 11:08:28 EDT 2006


-----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 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.


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEU4FsSIxC85HZHLMRAozKAJ0akKo+TjVLGoC1VsRw9e99W77D/gCeJ3zy
T8t/vLmHgZVx+Gt1wSOlPZU=
=Q350
-----END PGP SIGNATURE-----


More information about the Instantrails-users mailing list