Cop idea: Not enough arguments for enum_for/to_enum · Issue #7753 · rubocop/rubocop
Is your feature request related to a problem? Please describe. We have an idiom of enum_for/to_enum method for defining an iterator. class C def each_item(&block) return enum_for(__method__) unless...