From: Kazuhiro NISHIYAMA Date: 2010-01-22T15:03:44+09:00 Subject: [ruby-core:27681] [Bug #2020] ARGF.lineno and $. give inconsistent results Issue #2020 has been updated by Kazuhiro NISHIYAMA. File argf-lineno.diff added Category set to core I reproduced on ruby 1.9.2dev (2010-01-22 trunk 26370) [x86_64-linux] too. And I think an attached patch fixes the problem on trunk. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2020 ---------------------------------------- http://redmine.ruby-lang.org