阅读背景:

在Ruby中按名称以编程方式访问变量

来源:互联网 

I'm not entirely sure if this is possible in Ruby, but hopefully there's an easy way to do this. I want to declare a variable and later find out the name of the variable. That is, for this simple snippet:I'm not entirely sure if this is possible in Ru




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: