Feature #7745

lib/observer.rb: Observers are compared by identity

Added by Zachary Scott about 1 year ago. Updated about 1 year ago.

[ruby-core:51712]
Status:Open
Priority:Normal
Assignee:Nobuyoshi Nakada
Category:lib
Target version:next minor

Description

=begin
From (()):

((Please consider changing @observerpeers to compareby_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 1 year ago

  • Assignee set to Nobuyoshi Nakada

Also available in: Atom PDF