lib/polyfill/v2_4/array/concat.rb in polyfill-0.1.0 vs lib/polyfill/v2_4/array/concat.rb in polyfill-0.2.0
- old
+ new
@@ -13,11 +13,13 @@
replace(acc)
end if RUBY_VERSION < '2.4.0'
end
- refine ::Array do
- include Method
+ if RUBY_VERSION < '2.4.0'
+ refine ::Array do
+ include Method
+ end
end
end
end
end
end