Phlip wrote:
> okay, I saw them. Now what?
> 
> More cogently, my associates upgraded to:
> 
>   ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]
> 
> Now my favorite methods just die, with this irrelevant error:
> 
> NoMethodError: missing attribute: `output` in <td id width>
>     /usr/local/lib/ruby/1.8/rexml/element.rb:684:in `write'
> 
> So what's the modern equivalent of REXML::Element.write? Nothing fancy, 
> just pretty-print some XML so its legible?

That's a bug.  It will be fixed in the next release of REXML, which 
hopefully will be folded into subsequent releases of Ruby:

http://www.germane-software.com/projects/rexml/ticket/128

Meanwhile try something like the following:

require 'rexml/document'
foo = REXML::Document.new("<foo/>")
bar = REXML::Formatters::Default.new
out = String.new
bar.write(foo, out)
puts out

- Sam Ruby