class XML::Node
then make a few modifications to XML::Node
so it can stand in for REXML::Element
Public Instance Methods
attributes()
click to toggle source
element.attributes should work
# File lib/solr/xml.rb, line 28 def attributes self end
text=(x)
click to toggle source
element.text = “blah” should work
# File lib/solr/xml.rb, line 33 def text=(x) self << x.to_s end