Sha256: 7120ce1b52ac2a708155b9e27337d81814a8f16a84d2782d40289de6dbbb9fca
Contents?: true
Size: 575 Bytes
Versions: 15
Compression:
Stored size: 575 Bytes
Contents
module Puree module XMLExtractor # Paper base XML extractor. # class Paper < Puree::XMLExtractor::ResearchOutput include Puree::XMLExtractor::PagesMixin include Puree::XMLExtractor::PageRangeMixin include Puree::XMLExtractor::PeerReviewedMixin def initialize(xml) super setup_model :paper end private def combine_metadata super @model.pages = pages @model.page_range = page_range @model.peer_reviewed = peer_reviewed @model end end end end
Version data entries
15 entries across 15 versions & 1 rubygems