Sha256: ce3ebe0ed86036921a8f891169d2b9337bfe21d47383028e4e381052819d6bd7

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 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
          require_sub __FILE__, include_modules: true

          # @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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aranha-parsers-0.24.0 lib/aranha/parsers/html/node/default.rb
aranha-parsers-0.23.1 lib/aranha/parsers/html/node/default.rb
aranha-parsers-0.23.0 lib/aranha/parsers/html/node/default.rb
aranha-parsers-0.22.0 lib/aranha/parsers/html/node/default.rb
aranha-parsers-0.21.0 lib/aranha/parsers/html/node/default.rb
aranha-parsers-0.20.0 lib/aranha/parsers/html/node/default.rb