From: Chris Game Date: 2005-07-31T00:51:04+09:00 Subject: Loading data (variables) Hi, I'm having some trouble loading dummy data into an irb session; I can set require="somefile" to include Classes and methods from a file, but the set of data assignments I have in another file I cannot load - I get the 'NameError: undefined local variable...' message when I try to load it and then examine the data afterwards. The only way I can get the data into the irb session is by copy and paste - I'm sure there must be a better way? I see there's some comment in the 'Pickaxe' about scope and local variables from a loaded file on p.124 but I'm not at all clear as to what to do to get them visible at the irb prompt! -- Chris Game "Just because I don't care doesn't mean I don't understand." -- Homer Simpson