From: Nuralanur@... Date: 2005-10-27T04:12:52+09:00 Subject: irb question - variable definitions when calling irb from a script problem -------------------------------1130353930 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Dear all, I have written a script containing some quite lengthy definitions of an array full of parameters and methods for it. This works fine, but now I'd like to change some value in the array and use some method of the script on it. I do not know which value of the parameters will be changed nor really, which method out of several will be used in advance, so I'd like to use irb to do that interactively. I can call irb from the script, but then it does not remember that in the script, I had defined array[4544]="my nice parameter value" anymore, same thing if I start irb directly and use require "myscript.rb". Is there some workaround that permits to make a variable definition in a script "interactively global" ? Best regards, Axel -------------------------------1130353930--