Skip to content

Commit 464d3fc

Browse files
committed
Use alias enum_for to_enum instead of alias :enum_for :to_enum.
1 parent 057be5f commit 464d3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mrbgems/mruby-enumerator/mrblib/enumerator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ module Kernel
612612
def to_enum(meth=:each, *args)
613613
Enumerator.new self, meth, *args
614614
end
615-
alias :enum_for :to_enum
615+
alias enum_for to_enum
616616
end
617617

618618
module Enumerable

0 commit comments

Comments
 (0)