Project

General

Profile

Actions

Feature #7745

open

lib/observer.rb: Observers are compared by identity

Added by zzak (zzak _) almost 12 years ago. Updated 8 months ago.

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

Description

=begin
From ((<github issue 239|URL:https://github.com/ruby/ruby/pull/239>)):

((Please consider changing @observer_peers to compare_by_identity. This fixes surprising effects when Strings or Arrays are used as observers.))

I've attached the associated patch.
=end


Files

239.patch (3.42 KB) 239.patch zzak (zzak _), 01/28/2013 02:19 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0