NameError:未定义的局部变量或irb中的方法
Iamusingruby1.9.2withirbandIkeepgettingthefollowingerrormessage:我正在使用带有irb的ruby1.9.2并且我不断收到以下错误消息:NameError:undefinedlocalvariableormethod`ex1'formain...
如何从正在运行的脚本中切换到IRB提示符?
CanIdroptoanIRBpromptfromarunningRubyscript?我可以从运行的Ruby脚本中切换到IRB提示符吗?Iwanttorunascript,butthenhaveitgivemeanIRBpromptatapointintheprogramwiththecurren...