Class: Hpricot::Elements
- Inherits:
-
Object
- Object
- Hpricot::Elements
- Defined in:
- lib/hpricot_scrub/hpricot_scrub.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) strip
121 122 123 |
# File 'lib/hpricot_scrub/hpricot_scrub.rb', line 121 def strip each { |x| x.strip } end |
- (Object) strip_attributes(safe = [])
125 126 127 |
# File 'lib/hpricot_scrub/hpricot_scrub.rb', line 125 def strip_attributes(safe=[]) each { |x| x.scrub_attributes(safe) } end |