about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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