Project

General

Profile

Bug #4471

sample list.rb generates warnings

Added by agrimm (Andrew Grimm) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-03-05 trunk 31026) [x86_64-darwin10.6.0]
Backport:
[ruby-core:35435]

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

History

Updated by kosaki (Motohiro KOSAKI) over 8 years ago

  • Status changed from Open to Closed

=begin
Good catch! this is fixed by r31032.

Thank you!
=end

Also available in: Atom PDF