Sha256: 3653cc09fd3bd348e8f91faeaaaf286c6b40fe3a49a4fafa481a7680faa4ebaf
Contents?: true
Size: 758 Bytes
Versions: 7
Compression:
Stored size: 758 Bytes
Contents
# frozen_string_literal: true require 'aranha/parsers/html/node/base' require 'eac_ruby_utils/core_ext' module Aranha module Parsers module Html module Node class Default < ::Aranha::Parsers::Html::Node::Base module NodesSupport # @param node [Nokogiri::XML::Node] # @param xpath [String] # @return [Nokogiri::XML::NodeSet] def node_set_value(node, xpath) node.xpath(xpath) end # @param node [Nokogiri::XML::Node] # @param xpath [String] # @return [Nokogiri::XML::Node] def node_value(node, xpath) node.at_xpath(xpath) end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems