Module: Puree::XMLExtractor::PagesMixin
- Included in:
- JournalArticle, Paper, Thesis
- Defined in:
- lib/puree/xml_extractor/mixins/pages_mixin.rb
Overview
Pages extractor mixin.
Instance Method Summary collapse
Instance Method Details
#pages ⇒ Integer?
10 11 12 13 |
# File 'lib/puree/xml_extractor/mixins/pages_mixin.rb', line 10 def pages xpath_result = xpath_query_for_single_value('/numberOfPages') xpath_result ? xpath_result.to_i : nil end |