diff options
-rw-r--r-- | code/debug.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/code/debug.rb b/code/debug.rb index 6488dd9a..d7614aaf 100644 --- a/code/debug.rb +++ b/code/debug.rb @@ -191,12 +191,7 @@ module Debug ## logppfatal(x) => __logpp__(x, 1) def self.__logpp__(obj, level) if level <= @@level - old_stdout = $stdout - $stdout = @@stream - - pp(obj) - - $stdout = old_stdout + Debug.write(obj.pretty_inspect) end obj end |