lib/pmp/parser.rb in pmp-0.2.0 vs lib/pmp/parser.rb in pmp-0.2.1
- old
+ new
@@ -89,10 +89,10 @@
results
end
end
def parse_items(document)
- self.items = Array(document).collect{|i| PMP::CollectionDocument.new(document:i)}
+ self.items = Array(document).collect{|i| PMP::CollectionDocument.new(options.merge(document:i))}
end
end
end