REXML::Formatters::Pretty wrap width?

Hey all,

So I am doing something like this:

out = REXML::Formatters::Pretty.new(4)
out.width = 5000 # arbitrarily large value
out.compact = true
puts out.write(tmtheme.root,"")

Yet long lines are getting broken still. For example:

http://pastie.org/621471

Is there any way I can prevent this?

Cheers,
Charles

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs