aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/numeric/inquiry.rb
blob: 6b5240d051feecb8ee7a320b58cbd82524b397c6 (plain) (blame)
1
2
3
4
5
# frozen_string_literal: true

require "active_support/deprecation"

ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Numeric#positive? and Numeric#negative? natively, so requiring active_support/core_ext/numeric/inquiry is no longer necessary. Requiring it will raise LoadError in Rails 6.1."