Method: Arachni::Page::DOM#initialize
- Defined in:
- lib/arachni/page/dom.rb
#initialize(options) ⇒ DOM
Returns a new instance of DOM.
60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/arachni/page/dom.rb', line 60 def initialize( ) @page = [:page] self.url = [:url] || @page.url self.digest = [:digest] = [:cookies] || [] @transitions = [:transitions] || [] @data_flow_sinks = [:data_flow_sinks] || [] @execution_flow_sinks = [:execution_flow_sinks] || [] @skip_states = [:skip_states] || Support::LookUp::HashSet.new( hasher: :persistent_hash ) end |