diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-21 11:13:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-21 11:13:43 +0900 |
| commit | 464d3fc0a329ba045052b07fdbfbc3e37dc787d2 (patch) | |
| tree | b5a469243192743d97cc103c140ad193acae59d7 /mrbgems | |
| parent | 057be5ffb55dbcdb1a982da4762fc3fc8c568705 (diff) | |
| download | mruby-464d3fc0a329ba045052b07fdbfbc3e37dc787d2.tar.gz mruby-464d3fc0a329ba045052b07fdbfbc3e37dc787d2.zip | |
Use `alias enum_for to_enum` instead of `alias :enum_for :to_enum`.
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-enumerator/mrblib/enumerator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-enumerator/mrblib/enumerator.rb b/mrbgems/mruby-enumerator/mrblib/enumerator.rb index c7b78be5c..a60f19aaf 100644 --- a/mrbgems/mruby-enumerator/mrblib/enumerator.rb +++ b/mrbgems/mruby-enumerator/mrblib/enumerator.rb @@ -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 |
