class RSpecHtmlMatchers::NokogiriRegexpHelper
for nokogiri regexp matching
@private
@api
def initialize regex
def initialize regex @regex = regex end
def regexp node_set
def regexp node_set node_set.find_all { |node| node.content =~ @regex } end
for nokogiri regexp matching
@private
@api
def initialize regex @regex = regex end
def regexp node_set node_set.find_all { |node| node.content =~ @regex } end