Class: Widgetify::Parser

Inherits:
Hash
  • Object
show all
Defined in:
lib/parser/parser.rb

Overview

this will be the base class

Direct Known Subclasses

HTMLParser, OembedParser, OpenGraphParser

Instance Method Summary collapse

Constructor Details

#initialize(html_doc) ⇒ Parser

Returns a new instance of Parser.



7
8
9
# File 'lib/parser/parser.rb', line 7

def initialize(html_doc)
  @html_doc = html_doc
end