如何输出变量的变量值比如定义:f01 = "test"mid = "f" + "01"现在想:puts "#{mid}"让结果是test 如何做?[解决办法]f01 = "test"mid = "f" + "01"eval('puts ' + mid)[解决办法]string = ' f01="test" 'eval(string)print f01