Issue #5220 has been reported by Hal Brodigan.

----------------------------------------
Bug #5220: NilClass#to_i should accept an argument to match String#to_i
http://redmine.ruby-lang.org/issues/5220

Author: Hal Brodigan
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]


I noticed that NilClass#to_i does not accept an additional argument. This differs from String#to_i which accepts an optional conversion base.


-- 
http://redmine.ruby-lang.org