Class: BrandLogo::NokogiriParser
- Inherits:
-
Object
- Object
- BrandLogo::NokogiriParser
- Extended by:
- T::Sig
- Includes:
- HtmlParser
- Defined in:
- lib/brand_logo/html_parser.rb
Overview
Concrete implementation using the Nokogiri gem.
Instance Method Summary collapse
Instance Method Details
#parse(html) ⇒ Object
59 60 61 |
# File 'lib/brand_logo/html_parser.rb', line 59 def parse(html) ParsedDocument.new(Nokogiri::HTML(html)) end |