Class: Alparser::Parser::HtmlParser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- Alparser::Parser::HtmlParser
- Defined in:
- lib/alparser/parser.rb
Instance Method Summary collapse
Instance Method Details
#html ⇒ Object
6 7 8 9 10 |
# File 'lib/alparser/parser.rb', line 6 def html doc = Nokogiri::HTML(body) doc.encoding = 'utf-8' doc end |