From: David Masover Date: 2010-08-17T14:20:46+09:00 Subject: Re: Have I been staring at the screen too long? On Monday, August 16, 2010 10:40:41 pm Iain Barnett wrote: > It *did* have a rand function in there, but I removed it because it was > being loaded but the index_in_range wasn't. I've no idea how the rand > function is still getting added if it's not defined in the file. irb(main):002:0> Array.public_instance_methods.include? :rand => false irb(main):003:0> Array.private_instance_methods.include? :rand => true Apparently, the core Array class has a private 'rand' method?