Class: Blogit::Parsers::HtmlParser
- Inherits:
-
Object
- Object
- Blogit::Parsers::HtmlParser
- Defined in:
- lib/blogit/parsers/html_parser.rb
Instance Attribute Summary (collapse)
-
- (Object) parsed
readonly
Returns the value of attribute parsed.
Instance Method Summary (collapse)
-
- (HtmlParser) initialize(content)
constructor
A new instance of HtmlParser.
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 |