From: Motohiro KOSAKI Date: 2011-03-06T21:51:55+09:00 Subject: [ruby-core:35436] [Ruby 1.9 - Bug #4471][Closed] sample list.rb generates warnings Issue #4471 has been updated by Motohiro KOSAKI. Status changed from Open to Closed Good catch! this is fixed by r31032. Thank you! ---------------------------------------- Bug #4471: sample list.rb generates warnings http://redmine.ruby-lang.org/issues/4471 Author: Andrew Grimm Status: Closed Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3dev (2011-03-05 trunk 31026) [x86_64-darwin10.6.0] Running the file sample/list.rb using ruby -W2 generates warnings. I think sample code should not generate warnings, because samples should be examples of good code, not examples of bad code. I don't mind if it's fixed by improving the script, or by deleting the script. -- http://redmine.ruby-lang.org