From fb66bf2dd8f307b9741f4f076d70c6cbf560d0e5 Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 26 Aug 2014 00:31:00 +0000 Subject: * lib/mathn.rb: mathn library is deprecated on ruby 2.2. [Feature #10169][ruby-core:64553] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mathn.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/mathn.rb') diff --git a/lib/mathn.rb b/lib/mathn.rb index b18a0edb25..004f41748e 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -38,6 +38,8 @@ # class Numeric follows to make this documentation findable in a reasonable # location +warn('lib/mathn.rb is deprecated') if $VERBOSE + class Numeric; end require "cmath.rb" -- cgit v1.2.3