summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rexml/element.rb2
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