Feature #5220
closed
NilClass#to_i should accept an argument to match String#to_i
Added by postmodern (Hal Brodigan) over 13 years ago.
Updated over 12 years ago.
Description
I noticed that NilClass#to_i does not accept an additional argument. This differs from String#to_i which accepts an optional conversion base.
- Tracker changed from Bug to Feature
- Target version changed from 1.9.3 to 2.0.0
IO, Integer, Float, Time, etc. have #to_i with no arguments, too.
- 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
Like0
Like0Like0Like0