mls 0.2.34 → 0.2.35
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mls/parser.rb +1 -1
- data/mls.gemspec +1 -1
- metadata +1 -1
data/lib/mls/parser.rb
CHANGED
@@ -29,7 +29,7 @@ class MLS::Parser
|
|
29
29
|
def self.build_collection(hash, options={})
|
30
30
|
root = options[:collection_root_element] || collection_root_element
|
31
31
|
collection = []
|
32
|
-
|
32
|
+
hash[root].each do |attrs|
|
33
33
|
collection << build(attrs)
|
34
34
|
end
|
35
35
|
collection
|
data/mls.gemspec
CHANGED