From: Andrew Grimm Date: 2011-03-06T11:05:25+09:00 Subject: [ruby-core:35435] [Ruby 1.9 - Bug #4471][Open] sample list.rb generates warnings Issue #4471 has been reported by Andrew Grimm. ---------------------------------------- Bug #4471: sample list.rb generates warnings http://redmine.ruby-lang.org/issues/4471 Author: Andrew Grimm Status: Open 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