--mimepart_484cf435dcb6d_624e87f20c610c
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: Quoted-printable
Content-Disposition: inline

Issue #119 has been updated by Akinori MUSHA.

% Done changed from 0 to 50

It returns an enumerator in trunk.  Maybe ruby_1_8 will get a backport later.
----------------------------------------
Bug #119: Set#divide and SortedSet#divide raise NoMethodErrors when passed no block
http://redmine.ruby-lang.org/issues/show/119

Author: Arthur Schreiber
Status: Open
Priority: Normal
Assigned to: Akinori MUSHA
Category: arget version: et[1].divide # => raises a NoMethodError: undefined method `arity' foril:NilClass
SortedSet[1].divide # => raises a NoMethodError: undefined method `arity' for nil:NilClass

Raising a LocalJumpError or returning an enumerator would be much more consistent with general behaviour in Ruby.


----------------------------------------
You have received this notification because you have either subscribed tot, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account

--mimepart_484cf435dcb6d_624e87f20c610c--