require 'libxml/xml'

Were libxml/xml.rb is simply

require 'libxml'
include LibXML


I know I'm late to the discussion, but how about this tweak:

require 'libxml'
unless ['0','false','no','off',false,nil].include? (ENV['RUBY_LIBXML_SHORT_PATH'].nil? ? true : ENV['RUBY_LIBXML_SHORT_PATH'].downcase])
  include LibXML
end

I think a get out of jail free card would be nice and having it conditionalized behind an environment variable is convenient for folks if they're in a jam. -sc

--
Sean Chittenden
[EMAIL PROTECTED]



_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to