Sha256: 6cb983a64c540a3811289a6b2801a64c9efc34ad75c93709286014379e8b3614
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 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 require_relative '../base' require_relative 'with_node' require_relative 'with_dom' module Arachni module Element::Capabilities # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module DOMOnly include Arachni::Element::Capabilities::Inputtable include Arachni::Element::Capabilities::WithNode include Arachni::Element::Capabilities::WithDOM attr_accessor :method def initialize( options ) super options @method = options[:method] self.inputs = options[:inputs] @default_inputs = self.inputs.dup.freeze end def mutation? false end def coverage_id dom.coverage_id end def coverage_hash dom.coverage_hash end def id dom.id end def dup super.tap do |o| o.method = self.method end end def type self.class.type end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arachni-1.3.2 | lib/arachni/element/capabilities/dom_only.rb |
arachni-1.3.1 | lib/arachni/element/capabilities/dom_only.rb |
arachni-1.3 | lib/arachni/element/capabilities/dom_only.rb |