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