summaryrefslogtreecommitdiff
path: root/lib/date.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-18 15:30:32 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-18 15:30:32 +0000
commit03f8ef900a3640f077b96617baf4881300d25ae9 (patch)
tree165dbe3ef22158a892a352d83d4f93262d188f54 /lib/date.rb
parent7e190d7568c93e0f0d5397629f426780d608016c (diff)
use $deferr instead of $stderr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date.rb')
-rw-r--r--lib/date.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/date.rb b/lib/date.rb
index b3641516cf..f9ba3ba1e6 100644
--- a/lib/date.rb
+++ b/lib/date.rb
@@ -532,7 +532,7 @@ class Date
module_eval <<-"end;"
def self.#{old}(*args, &block)
if $VERBOSE
- $stderr.puts("\#{caller.shift.sub(/:in .*/, '')}: " \
+ $deferr.puts("\#{caller.shift.sub(/:in .*/, '')}: " \
"warning: \#{self}::#{old} is deprecated; " \
"use \#{self}::#{new}")
end
@@ -549,7 +549,7 @@ class Date
module_eval <<-"end;"
def #{old}(*args, &block)
if $VERBOSE
- $stderr.puts("\#{caller.shift.sub(/:in .*/, '')}: " \
+ $deferr.puts("\#{caller.shift.sub(/:in .*/, '')}: " \
"warning: \#{self.class}\##{old} is deprecated; " \
"use \#{self.class}\##{new}")
end