Sha256: 11ef13fe5f7d4ff4c280951f73a75aadea45b563dff31e2568421d44c0bd8a5b
Contents?: true
Size: 653 Bytes
Versions: 6
Compression:
Stored size: 653 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end require_relative 'with_source' module Arachni module Element::Capabilities # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module WithNode include WithSource # @return [Nokogiri::XML::Element] def node return if !@source Nokogiri::HTML.fragment( @source.dup ).children.first end end end end
Version data entries
6 entries across 6 versions & 1 rubygems