Object
"attrs" is a hash for setting the "doc" xml attributes "value" is the text value for the node
"attrs" must be a hash "value" should be something that responds to #_to_s
# File lib/rsolr/xml.rb, line 61 def initialize(attrs, value) @attrs = attrs @value = value end
the value of the "name" attribute
# File lib/rsolr/xml.rb, line 67 def name @attrs[:name] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.