class HTML::Pipeline::TaskList::Filter::XPathSelectorFunction

Underlying XPath Selector for identifying items matching the ITEM_PATTERN

Public Class Methods

task_list_item(nodes) click to toggle source
# File lib/html/pipeline/task_list/filter.rb, line 75
def self.task_list_item(nodes)
  nodes.find_all { |x| x.text =~ ITEM_PATTERN }
end