Use `alias enum_for to_enum` instead of `alias :enum_for :to_enum`.

parent 057be5ff
......@@ -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
......
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