Project

General

Profile

Bug #8301 » attributes_to_a.patch

ohai (Ippei Obayashi), 04/20/2013 04:39 PM

View differences:

lib/rexml/element.rb
end
def to_a
values.flatten
enum_for(:each_attribute).to_a
end
# Returns the number of attributes the owning Element contains.
(2-2/2)