Permalink
Browse files

Use $stderr.

  • Loading branch information...
1 parent 22dc639 commit e1e5de5e0094c5a45d163a0b88a8003f2b390c09 @postmodern committed Jun 24, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/warnings.rb
View
@@ -6,9 +6,9 @@
at_exit do
if (!$WARNINGS.empty? && ($VERBOSE || $DEBUG))
- STDERR.puts
- STDERR.puts "Warnings:"
- STDERR.puts
+ $stderr.puts
+ $stderr.puts "Warnings:"
+ $stderr.puts
unique_warnings = {}
@@ -18,6 +18,6 @@
unqiue_warnings.each { |warning| warning.print }
- STDERR.puts
+ $stderr.puts
end
end

0 comments on commit e1e5de5

Please sign in to comment.