Project

General

Profile

Actions

Feature #6245

closed

"is_integer?" method declaration in prelude

Added by regularlambda (Mahmut Bulut) about 12 years ago. Updated about 12 years ago.

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

Description

Dear Rubyists, can we add "is_integer?" method to our core for main purposes of checking integerITY?
I add it to "golf_prelude.rb" below of "to_a" stub.

https://github.com/ruby/ruby/pull/112

https://github.com/ruby/ruby/pull/112.patch

**This can be in class Fixnum. I don't know this is true place for it?


Files

112.patch (749 Bytes) 112.patch regularlambda (Mahmut Bulut), 04/03/2012 03:58 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0