def generate_binding(a_binding=binding)
      a_binding.local_variables do |local_var|
        a_binding.local_variable_set local_var, nil
      end
      @bound_procs.each_with_index do |bound_proc, index|
        a_binding.local_variable_set "proc_#{index}",  bound_proc
      end
      @bound_constants.each_with_index do |bound_const, index|
        a_binding.local_variable_set "const_#{index}", bound_const
      end
      a_binding
    end
def generate_binding(a_binding=binding)
      a_binding.local_variables do |local_var|
        a_binding.local_variable_set local_var, nil
      end
      @bound_procs.each_with_index do |bound_proc, index|
        a_binding.local_variable_set "proc_#{index}",  bound_proc
      end
      @bound_constants.each_with_index do |bound_const, index|
        a_binding.local_variable_set "const_#{index}", bound_const
      end
      a_binding
    end
Generate a binding containing the locally bound procs and constants