Class: RailsParseHead::Parse

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_parse_head/parse.rb

Instance Attribute Summary

Attributes inherited from Base

#html

Instance Method Summary collapse

Methods inherited from Base

#links, #metas, #title

Constructor Details

#initialize(html) ⇒ Parse

Returns a new instance of Parse.



5
6
7
# File 'lib/rails_parse_head/parse.rb', line 5

def initialize(html)
  @html = document(html)
end