A friend wrote a brief Ruby script (attached) which downloads game files
from a website. It worked for 1.7, but not for 2.0. Here is the error I
get:

david@achernar:~/games/Twixt/sw$ ruby ./getgame.rb 1522422 1522423
1522424 1522431
./getgame.rb:91:in `getPlayer1': undefined method `scan' for
nil:NilClass (NoMethodError)
  from ./getgame.rb:143:in `getJtwixtFileData'
  from ./getgame.rb:164:in `getGame'
  from ./getgame.rb:179:in `block in <main>'
  from ./getgame.rb:178:in `each'
  from ./getgame.rb:178:in `<main>'
david@achernar:~/games/Twixt/sw$

Is there a list of changes to Ruby since 1.7? Any clue would be
appreciated. Thanks for your time.

David

Attachments:
http://www.ruby-forum.com/attachment/8202/getgame.rb


-- 
Posted via http://www.ruby-forum.com/.