lib/polyfill/v2_4/array.rb in polyfill-1.0.1 vs lib/polyfill/v2_4/array.rb in polyfill-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
require_relative 'numeric'
module Polyfill
module V2_4
module Array
- using Polyfill(Numeric: %w[#dup])
+ using Polyfill(Numeric: %w[#dup], version: '2.4')
def concat(*others)
return super if others.length == 1
acc = [].concat(self)