Project

General

Profile

Feature #7745

lib/observer.rb: Observers are compared by identity

Added by zzak (Zachary Scott) almost 5 years ago. Updated almost 5 years 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

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

History

#1 [ruby-core:52655] Updated by ko1 (Koichi Sasada) almost 5 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

Also available in: Atom PDF