lib/awis/utils/xml.rb in awis-sdk-ruby-0.1.1 vs lib/awis/utils/xml.rb in awis-sdk-ruby-1.0.0

- old
+ new

@@ -6,10 +6,10 @@ end def each_node(attributes_in_path = false) reader = Nokogiri::XML::Reader(@data) nodes = [''] - + reader.each do |node| if node.node_type == Nokogiri::XML::Reader::TYPE_ELEMENT if attributes_in_path && node.attributes.size > 0 attributes = []