Sha256: eee3415cec269d37cd05dfb676f870ed14b53fb8a66d1bd79f99e5c56e88dee5

Contents?: true

Size: 700 Bytes

Versions: 6

Compression:

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

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

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 lib/arachni/element/cookie/capabilities/with_dom.rb
arachni-1.3.1 lib/arachni/element/cookie/capabilities/with_dom.rb
arachni-1.3 lib/arachni/element/cookie/capabilities/with_dom.rb
arachni-1.2.1 lib/arachni/element/cookie/capabilities/with_dom.rb
arachni-1.2 lib/arachni/element/cookie/capabilities/with_dom.rb
arachni-1.1 lib/arachni/element/cookie/capabilities/with_dom.rb