Class: Hpricot::Elements

Inherits:
Object
  • Object
show all
Defined in:
lib/rfeedparser/scrub.rb

Instance Method Summary collapse

Instance Method Details

#strip_attributes(safe = []) ⇒ Object



124
125
126
# File 'lib/rfeedparser/scrub.rb', line 124

def strip_attributes(safe=[])
  each { |x| x.strip_attributes(safe) }
end

#strip_style(ok_props = [], ok_keywords = []) ⇒ Object

NOTE unused so far.



128
129
130
# File 'lib/rfeedparser/scrub.rb', line 128

def strip_style(ok_props=[], ok_keywords=[]) # NOTE unused so far.
  each { |x| x.strip_style(ok_props, ok_keywords) }
end