module Hpricot::Node
def altered!
def altered! clear_raw end
def clear_raw; end
def clear_raw; end
def html_quote(str)
def html_quote(str) "\"" + str.gsub('"', '\\"') + "\"" end
def if_output(opts)
def if_output(opts) if opts[:preserve] and not raw_string.nil? raw_string else yield opts end end
def inspect_tree(depth = 0)
def inspect_tree(depth = 0) %{#{" " * depth}} + self.class.name.split(/::/).last.downcase + "\n" end
def pathname; self.name end
def pathname; self.name end