def parse_with_meta(doc, xpath)
      groups = []
      doc.xpath(xpath).each do |prop|
        groups << prop.text
      end
      meta = get_meta(doc)
      groups.send(:define_singleton_method, :meta) do
        meta
      end
      groups
    end
def parse_with_meta(doc, xpath)
      groups = []
      doc.xpath(xpath).each do |prop|
        groups << prop.text
      end
      meta = get_meta(doc)
      groups.send(:define_singleton_method, :meta) do
        meta
      end
      groups
    end
Makes an array out of repeated elements

 @param doc [Object] Nokogiri::XML::Document
 @param xpath [String] Path to element that is being repeated
 @return [Array] Parsed array