class HrrRbSsh::Connection::RequestHandler::ReferenceEnvRequestHandler

Public Class Methods

new() click to toggle source
# File lib/hrr_rb_ssh/connection/request_handler/reference_env_request_handler.rb, line 10
def initialize
  @proc = Proc.new { |context|
    context.vars[:env] ||= Hash.new
    context.vars[:env][context.variable_name] = context.variable_value
  }
end