lib/link_thumbnailer/scrapers/default/description.rb in link_thumbnailer-2.0.4 vs lib/link_thumbnailer/scrapers/default/description.rb in link_thumbnailer-2.1.0

- old
+ new

@@ -3,16 +3,16 @@ module LinkThumbnailer module Scrapers module Default class Description < ::LinkThumbnailer::Scrapers::Default::Base - private - def value return model_from_meta.to_s if model_from_meta return model_from_body.to_s if model_from_body nil end + + private def model_from_meta modelize(node_from_meta, node_from_meta.attributes['content'].value) if node_from_meta end