Sha256: 1c5448119f28688ab7bf3e961438d03155cb34e5627b1901c6174852139119df

Contents?: true

Size: 210 Bytes

Versions: 24

Compression:

Stored size: 210 Bytes

Contents

module Puree

  module XMLExtractor

    # DOI extractor mixin.
    #
    module DoiMixin

      # @return [String, nil]
      def doi
        xpath_query_for_single_value '//doi'
      end

    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puree-2.9.2 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.9.1 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.9.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.8.1 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.8.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.7.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.6.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.5.1 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.5.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.4.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.3.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.2.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-1.9.1 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.1.1 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.1.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-1.9.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-1.8.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-2.0.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-1.7.0 lib/puree/xml_extractor/mixins/doi_mixin.rb
puree-1.6.0 lib/puree/xml_extractor/mixins/doi_mixin.rb