[DOC] Add Enumerable::Lazy#with_index to NEWS-2.7.0 [ci skip] by osyo-manga · Pull Request #4225 · ruby/ruby
The behavior of Enumerable::Lazy#with_index has changed in Ruby 2.7. # Block don't called in Ruby 2.7 p [1, 2, 3].lazy.with_index { |it, i| p [it, i] } # Ruby 2.6 => [1, 2, 3] # Ruby 2.7 =&g...