class Raev::Parser

Public Instance Methods

match_href(list, expression) click to toggle source
# File lib/raev/parser.rb, line 5
def match_href list, expression
  list.find_all { |node| node['href'.freeze] =~ /#{expression}/ }
end