global_variables.each {
|
v
|
eval(
"
puts #{v.dump}.ljust(36) + #{v}.to_s
"
) }
1. 查看当前所有全局变量的名称和值
转载于:https://www.cnblogs.com/1-2-3/archive/2008/09/12/1290031.html
转载于:https://www.cnblogs.com/1-2-3/archive/2008/09/12/1290031.html