Project

General

Profile

ActionsLike0

Feature #7377

open

#indetical? as an alias for #equal?

Added by aef (Alexander E. Fischer) over 12 years ago. Updated about 1 year ago.

Status:
Assigned
Target version:
-
[ruby-core:49467]

Description

As my feature request #7359 got rejected, here a more backward-compatible approach:

In my opinion the difference between #eql? and #equal? is really unintuitive. How about making their difference more obvious by giving one of them a more accurate name?

My proposal is to alias #equal? to #identical?.

I'll write a patch, if this is acceptable.

Updated by mame (Yusuke Endoh) over 12 years ago

  • Target version set to 2.6
#13

Updated by naruse (Yui NARUSE) over 7 years ago

  • Target version deleted (2.6)
#14

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Status changed from Open to Assigned
ActionsLike0

Also available in: Atom PDF