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