mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
move StopIteration to core; close #2518
This commit is contained in:
@@ -549,10 +549,6 @@ class Enumerator
|
||||
end
|
||||
end
|
||||
|
||||
class StopIteration < IndexError
|
||||
attr_accessor :result
|
||||
end
|
||||
|
||||
module Kernel
|
||||
##
|
||||
# call-seq:
|
||||
|
||||
@@ -66,3 +66,6 @@ end
|
||||
class NotImplementedError < ScriptError
|
||||
end
|
||||
|
||||
class StopIteration < IndexError
|
||||
attr_accessor :result
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user