Feature #7745

lib/observer.rb: Observers are compared by identity

Added by Zachary Scott over 2 years ago. Updated about 2 years ago.

[ruby-core:51712]
Status:Open
Priority:Normal
Assignee:Nobuyoshi Nakada

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

History

#1 Updated by Koichi Sasada about 2 years ago

  • Assignee set to Nobuyoshi Nakada

Also available in: Atom PDF