Project

General

Profile

« Previous | Next » 

Revision e1d9adcc

Added by Akinori MUSHA over 15 years ago

Fri Feb 12 02:27:39 2010 Akinori MUSHA

    * lib/set.rb (Set#initialize, Set#replace, Set#merge)
      (Set#subtract, Set#&): Fix duck type tests. [ruby-core:28078]

    * lib/set.rb (Set#initialize, Set#replace, Set#merge)
      (Set#subtract, Set#&): Try #each if #each_entry fails.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e