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



126
127
128
# File 'lib/rfeedparser/scrub.rb', line 126

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

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

NOTE unused so far.



130
131
132
# File 'lib/rfeedparser/scrub.rb', line 130

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