lib/polyfill/v2_4/string/instance/concat.rb in polyfill-0.3.0 vs lib/polyfill/v2_4/string/instance/concat.rb in polyfill-0.4.0
- old
+ new
@@ -14,17 +14,15 @@
replace(acc)
end
end
- if RUBY_VERSION < '2.4.0'
- refine ::String do
- include Method
- end
+ refine ::String do
+ include Method
+ end
- def self.included(base)
- base.include Method
- end
+ def self.included(base)
+ base.include Method
end
end
end
end
end