Class: Blogit::Parsers::HtmlParser

Inherits:
Object
  • Object
show all
Defined in:
lib/blogit/parsers/html_parser.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (HtmlParser) initialize(content)

A new instance of HtmlParser



5
6
7
# File 'lib/blogit/parsers/html_parser.rb', line 5

def initialize(content)
  @parsed = content
end

Instance Attribute Details

- (Object) parsed (readonly)

Returns the value of attribute parsed



3
4
5
# File 'lib/blogit/parsers/html_parser.rb', line 3

def parsed
  @parsed
end