about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-20 22:20:27 +0200
committerhut <hut@lavabit.com>2009-07-20 22:20:27 +0200
commit0b5197ecec8d0b890c78caf92527e260890da5a3 (patch)
tree54a7786a8e9cd5143669693abc1814c7df1708f2 /code
parent94ef2518cebe71fd549f32f3c0caa5daab747537 (diff)
downloadranger-0b5197ecec8d0b890c78caf92527e260890da5a3.tar.gz
corrected Debug.puts
Diffstat (limited to 'code')
-rw-r--r--code/debug.rb3
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