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