Project

General

Profile

Actions

Feature #5220

closed

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

Added by postmodern (Hal Brodigan) over 12 years ago. Updated about 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
[ruby-core:39072]

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0