class LibXML::XML::Attributes
Public Instance Methods
to_h()
click to toggle source
# File lib/libxml/attributes.rb, line 5 def to_h inject({}) do |hash, attr| hash[attr.name] = attr.value hash end end