File: hpricot.rb [hpricot-0.8.6 Documentation]

Last Modified
  2014-01-23 02:57:47 +0000
Requires
  - encoding/character/utf-8
  - hpricot_scan
  - hpricot/tag
  - hpricot/modules
  - hpricot/traverse
  - hpricot/inspect
  - hpricot/parse
  - hpricot/builder

## Description

## About hpricot.rb

All of Hpricot's various part are loaded when you use `require 'hpricot'`.

- hpricot_scan: the scanner (a C extension for Ruby) which turns an HTML stream into tokens.

- hpricot/parse.rb: uses the scanner to sort through tokens and give you back a complete document object.

- hpricot/tag.rb: sets up objects for the various types of elements in an HTML document.

- hpricot/modules.rb: categorizes the various elements using mixins.

- hpricot/traverse.rb: methods for searching documents.

- hpricot/elements.rb: methods for dealing with a group of elements as an Hpricot::Elements list.

- hpricot/inspect.rb: methods for displaying documents in a readable form.