Module: MetaInspector

Extended by:
MetaInspector
Included in:
MetaInspector
Defined in:
lib/meta_inspector.rb,
lib/meta_inspector/url.rb,
lib/meta_inspector/errors.rb,
lib/meta_inspector/parser.rb,
lib/meta_inspector/request.rb,
lib/meta_inspector/version.rb,
lib/meta_inspector/document.rb,
lib/meta_inspector/parsers/base.rb,
lib/meta_inspector/parsers/links.rb,
lib/meta_inspector/parsers/texts.rb,
lib/meta_inspector/parsers/images.rb,
lib/meta_inspector/parsers/meta_tags.rb,
lib/meta_inspector/parsers/head_links.rb

Defined Under Namespace

Modules: Parsers Classes: Document, Error, NonHtmlError, Parser, ParserError, Request, RequestError, TimeoutError, URL

Constant Summary collapse

VERSION =
'5.11.2'

Instance Method Summary collapse

Instance Method Details

#new(url, options = {}) ⇒ Object

Sugar method to be able to scrape a document in a shorter way


19
20
21
# File 'lib/meta_inspector.rb', line 19

def new(url, options = {})
  Document.new(url, options)
end