Actions
Bug #4471
closedsample list.rb generates warnings
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-03-05 trunk 31026) [x86_64-darwin10.6.0]
Backport:
Description
=begin
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.
=end
Actions
Like0
Like0