jasiek (Jan Szumiec)
- Login: jasiek
- Email: jan.szumiec@gmail.com
- Registered on: 07/31/2012
- Last sign in: 08/03/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/02/2012
-
06:45 PM Ruby Feature #6824 (Rejected): StopIteration gets a source method
- =begin
I'd like to add a method to StopIteration that returns an instance of the enumerator which triggered this exception. Eg:
enum = [].each
begin
enum.next
rescue StopIteration => ex
puts "same" if ex.source == e...