Issue #7745 has been reported by zzak (Zachary Scott).

----------------------------------------
Feature #7745: lib/observer.rb: Observers are compared by identity
https://bugs.ruby-lang.org/issues/7745

Author: zzak (Zachary Scott)
Status: Open
Priority: Normal
Assignee: 
Category: lib
Target version: next minor


=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


-- 
http://bugs.ruby-lang.org/