app/models/drb_endpoint.rb
# Do not use instance variables in this class!
# If an instance variable is set,
# the next time this DrbEndpoint is invoked it will use the previous instance variable
# DRb is not thread safe!
Do not use instance variables in this class.
If an instance variable is set,
the next time this DrbEndpoint is invoked it will use the previous instance variable
DRb is not thread safe!
Do not use instance variables in this class . If an instance variable is set the next time this DrbEndpoint is invoked it will use the previous instance variable DRb is not thread safe!
def generate_dial_string(dial_string_format, destination, gateway_type, destination_host, gateway, address, dial_string_path)
    dial_string_format.sub(
      /\%\{destination\}/, destination.to_s
    ).sub(
       /\%\{gateway_type\}/, gateway_type.to_s
    ).sub(
      /\%\{destination_host\}/, destination_host.to_s
    ).sub(
      /\%\{gateway\}/, gateway.to_s
    ).sub(
      /\%\{address\}/, address.to_s
    ).sub(
      /\%\{dial_string_path\}/, dial_string_path.to_s
    )
  end
def generate_dial_string ( dial_string_format , destination , gateway_type , destination_host , gateway , address , dial_string_path ) dial_string_format . sub ( / \% \{ destination \} / , destination . to_s ) . sub ( / \% \{ gateway_type \} / , gateway_type . to_s ) . sub ( / \% \{ destination_host \} / , destination_host . to_s ) . sub ( / \% \{ gateway \} / , gateway . to_s ) . sub ( / \% \{ address \} / , address . to_s ) . sub ( / \% \{ dial_string_path \} / , dial_string_path . to_s ) end
Do not use instance variables in this class!
Do not use instance variables in this class!
dial_string_format
<not_specific>
destination
<not_specific>
gateway_type
<not_specific>
destination_host
<not_specific>
gateway
<not_specific>
address
<not_specific>
dial_string_path
<not_specific>