Module: Arachni::Element::Capabilities::DOMOnly
Overview
Constant Summary
Constants included
from Inputtable
Inputtable::INPUTTABLE_CACHE
Instance Attribute Summary collapse
Attributes included from WithDOM
#dom, #skip_dom
Attributes included from WithSource
#source
Attributes included from Inputtable
#default_inputs, #inputs
Instance Method Summary
collapse
Methods included from WithDOM
#skip_dom?
Methods included from WithNode
#node
Methods included from WithSource
#to_h, #to_rpc_data
Methods included from Inputtable
#[], #[]=, #changes, #has_inputs?, #inputtable_id, #reset, #to_h, #try_input, #update, #valid_input_data?, #valid_input_name?, #valid_input_name_data?, #valid_input_value?, #valid_input_value_data?
Instance Attribute Details
Returns the value of attribute method.
22
23
24
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 22
def method
@method
end
|
Instance Method Details
#coverage_hash ⇒ Object
41
42
43
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 41
def coverage_hash
dom.coverage_hash
end
|
#coverage_id ⇒ Object
37
38
39
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 37
def coverage_id
dom.coverage_id
end
|
49
50
51
52
53
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 49
def dup
super.tap do |o|
o.method = self.method
end
end
|
45
46
47
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 45
def id
dom.id
end
|
#initialize(options) ⇒ Object
24
25
26
27
28
29
30
31
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 24
def initialize( options )
super options
@method = options[:method]
self.inputs = options[:inputs]
@default_inputs = self.inputs.dup.freeze
end
|
#mutation? ⇒ Boolean
33
34
35
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 33
def mutation?
false
end
|
55
56
57
|
# File 'lib/arachni/element/capabilities/dom_only.rb', line 55
def type
self.class.type
end
|