Sha256: cfc97514a5410da1ae07fecba1d84f29f5b2339be3e810346cf77bce53f06182
Contents?: true
Size: 544 Bytes
Versions: 7
Compression:
Stored size: 544 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 MiscellaneousSupport # @param node [Nokogiri::XML::Node] # @param xpath [String] # @return [Boolean] def boolean_value(node, xpath) node_value(node, xpath).to_bool end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems