mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use alias enum_for to_enum instead of alias :enum_for :to_enum.
This commit is contained in:
@@ -612,7 +612,7 @@ module Kernel
|
||||
def to_enum(meth=:each, *args)
|
||||
Enumerator.new self, meth, *args
|
||||
end
|
||||
alias :enum_for :to_enum
|
||||
alias enum_for to_enum
|
||||
end
|
||||
|
||||
module Enumerable
|
||||
|
||||
Reference in New Issue
Block a user