Sha256: a7eef643a39c3ab552324a134321423e5dcc4f9e0b9df973e59797af6c472586
Contents?: true
Size: 397 Bytes
Versions: 39
Compression:
Stored size: 397 Bytes
Contents
module QRDA module Cat1 class EntryFinder def initialize(entry_xpath) @entry_xpath = entry_xpath end def entries(doc) entry_elements = doc.xpath(@entry_xpath) if block_given? entry_elements.each do |entry_element| yield entry_element end else entry_elements end end end end end
Version data entries
39 entries across 39 versions & 2 rubygems