move StopIteration to core; close #2518

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-08-08 16:08:53 +09:00
parent 0e45aa0066
commit 569c7dec5f
2 changed files with 3 additions and 4 deletions
@@ -549,10 +549,6 @@ class Enumerator
end
end
class StopIteration < IndexError
attr_accessor :result
end
module Kernel
##
# call-seq:
+3
View File
@@ -66,3 +66,6 @@ end
class NotImplementedError < ScriptError
end
class StopIteration < IndexError
attr_accessor :result
end