Sha256: 92ac9211db2f93b149f8467dea7fc1958a2b04f6318b81c727a6823e66291b6c

Contents?: true

Size: 685 Bytes

Versions: 5

Compression:

Stored size: 685 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

module Arachni::Element
class Cookie

module Capabilities

# Extends {Arachni::Element::Capabilities::WithDOM} with {Cookie}-specific
# functionality.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
module WithDOM
    include Arachni::Element::Capabilities::WithDOM

    # @return   [DOM]
    def dom
        return if inputs.empty?
        super
    end

end

end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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