lib/polyfill/v2_4/integer/ceil.rb in polyfill-0.1.0 vs lib/polyfill/v2_4/integer/ceil.rb in polyfill-0.2.0

- old
+ new

@@ -11,11 +11,13 @@ place = 10 ** -ndigits (self.to_f / place).ceil * place end if RUBY_VERSION < '2.4.0' end - refine ::Integer do - include Method + if RUBY_VERSION < '2.4.0' + refine ::Integer do + include Method + end end end end end end