lib/arachni/rpc/message.rb
# Prepares the message for transmission (i.e. converts the message to a `Hash`).
#
# Attributes that should not be included can be skipped by implementing
# {#transmit?} and returning the appropriate value.
#
# @return   [Hash]
Prepares the message for transmission .
Attributes that should not be included can be skipped by implementing
{#transmit?} and returning the appropriate value.
Prepares the message for transmission . Attributes that should not be included can be skipped by implementing { #transmit? } and returning the appropriate value .
def prepare_for_tx
        instance_variables.inject({}) do |h, k|
            h[normalize( k )] = instance_variable_get( k ) if transmit?( k )
            h
        end
    end
def prepare_for_tx instance_variables . inject ( { } ) do | h , k | h [ normalize ( k ) ] = instance_variable_get ( k ) if transmit? ( k ) h end end
Prepares the message for transmission (i.e.
Prepares the message for transmission ( i . e .
None
Hash