Class: Sawzall::Document
- Inherits:
-
Object
- Object
- Sawzall::Document
- Defined in:
- lib/sawzall.rb
Instance Method Summary collapse
-
#root_element ⇒ Sawzall::Element
Returns the document’s root element.
-
#select(css_selector) ⇒ Array<Sawzall::Element>
Returns the elements that match the given [CSS selector].
Instance Method Details
#root_element ⇒ Sawzall::Element
Returns the document’s root element
|
# File 'lib/sawzall.rb', line 20
|
#select(css_selector) ⇒ Array<Sawzall::Element>
Returns the elements that match the given CSS selector
|
# File 'lib/sawzall.rb', line 2
|