diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-26 00:31:00 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-26 00:31:00 +0000 |
commit | fb66bf2dd8f307b9741f4f076d70c6cbf560d0e5 (patch) | |
tree | eae6866acf1211d2dd6eabe623b029a6a9c84595 /lib/mathn.rb | |
parent | 2530d3e30e2dea824ca3e19533115e1f527a5690 (diff) | |
download | ruby-fb66bf2dd8f307b9741f4f076d70c6cbf560d0e5.tar.gz |
* 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
Diffstat (limited to 'lib/mathn.rb')
-rw-r--r-- | lib/mathn.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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" |