Feature #5220

NilClass#to_i should accept an argument to match String#to_i

Added by Hal Brodigan about 4 years ago. Updated over 3 years ago.



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


#1 Updated by Nobuyoshi Nakada about 4 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Nobuyoshi Nakada about 4 years ago

  • Target version changed from 1.9.3 to 2.0.0

IO, Integer, Float, Time, etc. have #to_i with no arguments, too.

#3 Updated by Yusuke Endoh over 3 years ago

  • Status changed from Open to Rejected

There is no feedback or revised proposal from OP.
I close this as Rejected.

Yusuke Endoh mame@tsg.ne.jp

Also available in: Atom PDF