Module: Arachni::Element::XML::Capabilities::Inputtable

Includes:
Capabilities::Inputtable
Included in:
Arachni::Element::XML
Defined in:
lib/arachni/element/xml/capabilities/inputtable.rb

Overview

Extends Capabilities::Inputtable with Arachni::Element::XML-specific functionality.

Author:

Constant Summary

Constants included from Capabilities::Inputtable

Capabilities::Inputtable::INPUTTABLE_CACHE

Instance Attribute Summary

Attributes included from Capabilities::Inputtable

#default_inputs, #inputs

Instance Method Summary collapse

Methods included from Capabilities::Inputtable

#[], #[]=, #changes, #dup, #has_inputs?, #inputtable_id, #reset, #to_h, #try_input, #update, #valid_input_data?, #valid_input_name_data?, #valid_input_value?, #valid_input_value_data?

Instance Method Details

#valid_input_name?(name) ⇒ Bool

Returns ‘true` if the `name` is a valid CSS path for the XML #source, `false` otherwise.

Parameters:

  • name (String)

    Input name.

Returns:

  • (Bool)

    ‘true` if the `name` is a valid CSS path for the XML #source, `false` otherwise.



26
27
28
# File 'lib/arachni/element/xml/capabilities/inputtable.rb', line 26

def valid_input_name?( name )
    @inputs.include? name
end