lib/polyfill/v2_4/enumerable.rb in polyfill-1.0.1 vs lib/polyfill/v2_4/enumerable.rb in polyfill-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
require_relative 'numeric'
module Polyfill
module V2_4
module Enumerable
- using Polyfill(Numeric: %w[#dup])
+ using Polyfill(Numeric: %w[#dup], version: '2.4')
def chunk(*)
return enum_for(:chunk) unless block_given?
super