# File lib/libxml/attr.rb, line 92
def
to_h
inject
({})
do
|
h
,
a
|
h
[
a
.
name
] =
a
.
value
h
end
end