Project

General

Profile

Bug #8301 ยป attributes_to_a.patch

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

View differences:

lib/rexml/element.rb
990 990
    end
991 991

  
992 992
    def to_a
993
      values.flatten
993
      enum_for(:each_attribute).to_a
994 994
    end
995 995

  
996 996
    # Returns the number of attributes the owning Element contains.