From: Arthur Schreiber Date: 2008-06-09T03:10:13+09:00 Subject: [ruby-core:17147] [Ruby 1.8 - Bug #119] (Open) Set#divide and SortedSet#divide raise NoMethodErrors when passed no block --mimepart_484c20d8982d0_62487bf325c1099 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline Issue #119 has been reported by Arthur Schreiber. ---------------------------------------- Bug #119: Set#divide and SortedSet#divide raise NoMethodErrors when passe= d no block http://redmine.ruby-lang.org/issues/show/119 Author: Arthur Schreiber Status: Open Priority: Normal Assigned to: Akinori MUSHA Category: = Target version: = Set[1].divide # =3D> raises a NoMethodError: undefined method `arity' for= nil:NilClass SortedSet[1].divide # =3D> raises a NoMethodError: undefined method `arit= y' for nil:NilClass Raising a LocalJumpError or returning an enumerator would be much more co= nsistent with general behaviour in Ruby. ---------------------------------------- You have received this notification because you have either subscribed to= it, or are involved in it. To change your notification preferences, please click here: http://redmin= e.ruby-lang.org/my/account --mimepart_484c20d8982d0_62487bf325c1099--