From: Kero van Gelder Date: 2002-06-29T05:06:34+09:00 Subject: ArgumentError points to wrong line --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Run the attached Ruby file. The line mentioned for ArgumentError is 14, but the mistake is in line 17. Ruby 1.6.5, 1.6.7 and 1.7.2 tested. Bye, Kero. +--- Kero ------------------------------ kero@chello.nl ---+ | Don't split your mentality without thinking twice | | Proud like a God -- Guano Apes | +--- M38c ---------- http://httpd.chello.nl/k.vangelder ---+ --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="misnumber-report.rb" # Snippet from build-ipkg # (ipkg is the packaging system for familiar, the linux distro for armv4l # architectures, mainly iPAQ) class Package def initialize(name, section, priority) @name = name @section = section @priority = priority end end Packages = [ Package.new("ruby-dev", "lib", "extra"), Package.new("ruby-tk", "lib", "extra"), Package.new("ruby-doc", "man", "extra"), Package.new("ruby", "interpreter") ] --6c2NcOVqGQ03X4Wi--