Class: MetaInspector::Scraper
- Defined in:
- lib/meta_inspector/deprecations.rb
Instance Attribute Summary
Attributes inherited from Document
#allow_redirections, #html_content_only, #timeout, #warn_level
Instance Method Summary collapse
- #document ⇒ Object
- #errors ⇒ Object
-
#initialize ⇒ Scraper
constructor
A new instance of Scraper.
Methods inherited from Document
Constructor Details
#initialize ⇒ Scraper
Returns a new instance of Scraper.
5 6 7 8 |
# File 'lib/meta_inspector/deprecations.rb', line 5 def initialize warn "The Scraper class is now deprecated since version 1.17, use Document instead" super end |
Instance Method Details
#document ⇒ Object
15 16 17 |
# File 'lib/meta_inspector/deprecations.rb', line 15 def document warn "The #document method is deprecated since version 1.17, use #to_s instead" end |
#errors ⇒ Object
10 11 12 13 |
# File 'lib/meta_inspector/deprecations.rb', line 10 def errors warn "The #errors method is deprecated since version 1.17, use #exceptions instead" exceptions end |