lib/polyfill/v2_4/enumerator/lazy.rb in polyfill-1.0.1 vs lib/polyfill/v2_4/enumerator/lazy.rb in polyfill-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
module Polyfill
module V2_4
module Enumerator
module Lazy
- using Polyfill(Enumerable: %w[#chunk_while])
+ using Polyfill(Enumerable: %w[#chunk_while], version: '2.4')
def chunk_while
super.lazy
end