diff --git a/lib/debug.rb b/lib/debug.rb index fcbf849f0da315..aaa156ed8cf1b4 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -902,9 +902,9 @@ def stdout @stdout end - # Sets the IO used as stdout. Defaults to STDOUT - def stdout=(s) - @stdout = s + # Sets the IO used as +stdout+. Defaults to STDOUT + def stdout=(stdout) + @stdout = stdout end # Returns the display expression list