diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rexml/element.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb index 92612036a1..345e1734e5 100644 --- a/lib/rexml/element.rb +++ b/lib/rexml/element.rb @@ -1013,7 +1013,7 @@ module REXML # doc.root.attributes.each {|name, value| p name+" => "+value } def each each_attribute do |attr| - yield attr.expanded_name, attr.value + yield [attr.expanded_name, attr.value] end end |