Project

General

Profile

Actions

Bug #6408

closed

DelegateClass#eql? and <=> don't work as expected

Added by tenderlovemaking (Aaron Patterson) almost 12 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-05-06 trunk 35548) [x86_64-darwin11.3.0]
[ruby-core:44911]

Description

It seems these two methods aren't delegating to the delegate object when compared against itself.

I've attached a patch with tests and a fix. It seems nobody is the maintainer for delegate.rb (according to the wiki), so if nobody objects, I will apply this patch.


Files

fix.patch (1.45 KB) fix.patch tenderlovemaking (Aaron Patterson), 05/07/2012 04:48 AM
noname (500 Bytes) noname Anonymous, 05/07/2012 08:23 AM
noname (500 Bytes) noname Anonymous, 05/20/2012 05:29 AM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #7045: DelegateClass array subtractionClosed09/22/2012Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0