Project

General

Profile

Feature #7745

lib/observer.rb: Observers are compared by identity

Added by zzak (Zachary Scott) over 6 years ago. Updated over 1 year ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:51712]

Description

=begin
From (()):

((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 (Zachary Scott), 01/28/2013 02:19 AM

History

Updated by ko1 (Koichi Sasada) about 6 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
#2

Updated by naruse (Yui NARUSE) over 1 year ago

  • Target version deleted (2.6)

Also available in: Atom PDF