[Instantrails-users] REXML question

Gavin Sinclair gsinclair at gmail.com
Fri Apr 28 20:47:58 EDT 2006


On 4/29/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:
>
> REXML is inlcuded in Ruby. I just looked at REXML's document.rb file (in
> lib\ruby\1.8\xml) and the Document class is defined inside of a module named
> REXML. So you need to do this:
>
>     doc = REXML::Document.new

Or

  include REXML
  doc = Document.new

I don't know if that's a good solution in this case, but it's another
thing you can try!

Gavin



More information about the Instantrails-users mailing list