Module: Puree::XMLExtractor::TitleMixin

Included in:
Dataset, Event, Project
Defined in:
lib/puree/xml_extractor/mixins/title_mixin.rb

Overview

Title mixin.

Instance Method Summary collapse

Instance Method Details

#titleString?

Returns:

  • (String, nil)


10
11
12
# File 'lib/puree/xml_extractor/mixins/title_mixin.rb', line 10

def title
  xpath_query_for_single_value '/title/text'
end