aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-03-03 08:38:56 +0200
committerJeremy Daer <jeremydaer@gmail.com>2018-03-02 23:32:10 -0800
commitc1ad1f67f933008ea9945c980801affe28b90384 (patch)
tree1d2b5e7c7c552232e1143871eb5346524d06ed4c /activesupport/lib/active_support/number_helper
parentacbcec8ea869849f98213fea5e554bb3a82fea61 (diff)
downloadrails-c1ad1f67f933008ea9945c980801affe28b90384.tar.gz
rails-c1ad1f67f933008ea9945c980801affe28b90384.tar.bz2
rails-c1ad1f67f933008ea9945c980801affe28b90384.zip
Deprecate "active_support/core_ext/numeric/inquiry"
Numeric#positive? and Numeric#negative? was added to Ruby since 2.3, see https://github.com/ruby/ruby/blob/ruby_2_3/NEWS Rails 6 requires Ruby 2.4.1+ since https://github.com/rails/rails/pull/32034
Diffstat (limited to 'activesupport/lib/active_support/number_helper')
-rw-r--r--activesupport/lib/active_support/number_helper/number_to_currency_converter.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
index 3f037c73ed..a25e22cbd3 100644
--- a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
+++ b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
@@ -1,7 +1,5 @@
# frozen_string_literal: true
-require "active_support/core_ext/numeric/inquiry"
-
module ActiveSupport
module NumberHelper
class NumberToCurrencyConverter < NumberConverter # :nodoc: