diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-18 15:30:32 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-18 15:30:32 +0000 |
| commit | 90420defb89b6ad659b9e177c31a2acfff57b1b3 (patch) | |
| tree | 165dbe3ef22158a892a352d83d4f93262d188f54 /lib/date.rb | |
| parent | eb5f8a49d56eb0ea9271e14b72be8c57d9eb0848 (diff) | |
| download | ruby-90420defb89b6ad659b9e177c31a2acfff57b1b3.tar.gz ruby-90420defb89b6ad659b9e177c31a2acfff57b1b3.tar.xz ruby-90420defb89b6ad659b9e177c31a2acfff57b1b3.zip | |
use $deferr instead of $stderr.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date.rb')
| -rw-r--r-- | lib/date.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/date.rb b/lib/date.rb index b3641516c..f9ba3ba1e 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 |
