mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
warn only when $VERBOSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
530be6ed15
commit
3041f60056
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# :enddoc:
|
||||
|
||||
warn 'lib/complex.rb is deprecated'
|
||||
warn('lib/complex.rb is deprecated') if $VERBOSE
|
||||
|
||||
require 'cmath'
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# :enddoc:
|
||||
|
||||
warn 'lib/rational.rb is deprecated'
|
||||
warn('lib/rational.rb is deprecated') if $VERBOSE
|
||||
|
||||
class Fixnum
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue