Module: Puree::XMLExtractor::PageRangeMixin
- Included in:
- JournalArticle, Paper
- Defined in:
- lib/puree/xml_extractor/mixins/page_range_mixin.rb
Overview
Page range mixin.
Instance Method Summary collapse
Instance Method Details
#page_range ⇒ String?
10 11 12 13 |
# File 'lib/puree/xml_extractor/mixins/page_range_mixin.rb', line 10 def page_range xpath_result = xpath_query_for_single_value('/pages') xpath_result ? xpath_result : nil end |