diff options
author | hut <hut@lavabit.com> | 2009-07-20 22:20:27 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-20 22:20:27 +0200 |
commit | 0b5197ecec8d0b890c78caf92527e260890da5a3 (patch) | |
tree | 54a7786a8e9cd5143669693abc1814c7df1708f2 | |
parent | 94ef2518cebe71fd549f32f3c0caa5daab747537 (diff) | |
download | ranger-0b5197ecec8d0b890c78caf92527e260890da5a3.tar.gz |
corrected Debug.puts
-rw-r--r-- | code/debug.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/debug.rb b/code/debug.rb index de532c06..03c648b0 100644 --- a/code/debug.rb +++ b/code/debug.rb @@ -55,7 +55,8 @@ module Debug ## Write something to the output stream with a newline at the end. def self.puts(str) - stream.puts(@@name + str.to_s) + stream.write(@@name) + stream.puts(str) return str end |