Sha256: 7a5c74367b49736378726f67c71188c62ca33d958a09aa9459c2557d5f7726dc

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

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 XML
module Capabilities

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

    # Overrides {Arachni::Element::Capabilities::Mutable#each_mutation} to handle
    # XML-specific limitations.
    #
    # @param (see Arachni::Element::Capabilities::Mutable#each_mutation)
    # @return (see Arachni::Element::Capabilities::Mutable#each_mutation)
    # @yield (see Arachni::Element::Capabilities::Mutable#each_mutation)
    # @yieldparam (see Arachni::Element::Capabilities::Mutable#each_mutation)
    #
    # @see Arachni::Element::Capabilities::Mutable#each_mutation
    def each_mutation( payload, options = {}, &block )
        options.delete( :parameter_names )
        options.delete( :with_extra_parameter )
        super( payload, options, &block )
    end

end

end
end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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