move StopIteration to core; close #2518

parent 0e45aa00
...@@ -549,10 +549,6 @@ class Enumerator ...@@ -549,10 +549,6 @@ class Enumerator
end end
end end
class StopIteration < IndexError
attr_accessor :result
end
module Kernel module Kernel
## ##
# call-seq: # call-seq:
......
...@@ -66,3 +66,6 @@ end ...@@ -66,3 +66,6 @@ end
class NotImplementedError < ScriptError class NotImplementedError < ScriptError
end end
class StopIteration < IndexError
attr_accessor :result
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment