Module: RichUrls::Finders::MetaDescription
- Defined in:
- lib/finders/meta_description.rb
Class Method Summary collapse
Class Method Details
.call(elem) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/finders/meta_description.rb', line 4 def self.call(elem) return unless elem.tag == :meta && elem.attributes[:property] == 'og:description' elem.attributes[:content] end |