Issue #5220 has been updated by Nobuyoshi Nakada.

Target version changed from 1.9.3 to 1.9.x

IO, Integer, Float, Time, etc. have #to_i with no arguments, too.
----------------------------------------
Feature #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.x


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