Class: LinkThumbnailer::Scrapers::Default::Description
Instance Attribute Summary
Attributes inherited from Base
#attribute_name, #config, #document, #website
Instance Method Summary collapse
Methods inherited from Base
#applicable?, #call, #initialize
Constructor Details
This class inherits a constructor from LinkThumbnailer::Scrapers::Base
Instance Method Details
#value ⇒ Object
8 9 10 11 12 |
# File 'lib/link_thumbnailer/scrapers/default/description.rb', line 8 def value return .to_s if return model_from_body.to_s if model_from_body nil end |