Sha256: 4f0ae9e26c7150742416ac6cb827a9ca468b49c629a0811c69f18bf86b4f2acb

Contents?: true

Size: 615 Bytes

Versions: 5

Compression:

Stored size: 615 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.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 [Ox::Element]
    def node
        return if !@source
        Arachni::Parser.parse_fragment( @source )
    end

end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/element/capabilities/with_node.rb
arachni-1.6.1.2 lib/arachni/element/capabilities/with_node.rb
arachni-1.6.1.1 lib/arachni/element/capabilities/with_node.rb
arachni-1.6.1 lib/arachni/element/capabilities/with_node.rb
arachni-1.6.0 lib/arachni/element/capabilities/with_node.rb