(Not documented)
# File lib/jam/css_to_xpath.rb, line 117 def css_to_xpath(css) RULES.each do |f, t| case t when Proc css = css.gsub(f, &t) else css = css.gsub(f, t) end end return ".//" + css; end
# File lib/jam/css_to_xpath.rb, line 25 def rule(re_from, re_to=nil, &block) RULES << [re_from, re_to || block] end
Disabled; run with --debug to generate this.