Module: Arachni::Element::Capabilities::WithNode

Includes:
WithSource
Included in:
DOMOnly, Form, Form::DOM, Link, Link::DOM, LinkTemplate, LinkTemplate::DOM, UIForm::DOM, UIInput::DOM
Defined in:
lib/arachni/element/capabilities/with_node.rb

Overview

Author:

Instance Attribute Summary

Attributes included from WithSource

#source

Instance Method Summary collapse

Methods included from WithSource

#dup, #initialize, #to_h, #to_rpc_data

Instance Method Details

#nodeOx::Element

Returns:

  • (Ox::Element)


19
20
21
22
# File 'lib/arachni/element/capabilities/with_node.rb', line 19

def node
    return if !@source
    Arachni::Parser.parse_fragment( @source )
end