Class: Arachni::Component::Options::String

Inherits:
Base show all
Defined in:
lib/arachni/component/options/string.rb

Overview

Mult-byte character string option.

Author:

Instance Attribute Summary

Attributes inherited from Base

#default, #description, #name, #value

Instance Method Summary collapse

Methods inherited from Base

#==, #effective_value, #for_component, from_rpc_data, #hash, #initialize, #missing_value?, #required?, #to_h, #to_rpc_data, #valid?

Constructor Details

This class inherits a constructor from Arachni::Component::Options::Base

Instance Method Details

#normalizeObject


14
15
16
# File 'lib/arachni/component/options/string.rb', line 14

def normalize
    effective_value.to_s
end

#typeObject


18
19
20
# File 'lib/arachni/component/options/string.rb', line 18

def type
    :string
end