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
 
ld tools' href='/danisanti/profani-tty/commit/.gitignore?id=30ca6cac3d7f86e4a43410ba361793cd99d97a10'>30ca6cac ^
2655d9e8 ^

30ca6cac ^
376804be ^
30ca6cac ^
30ca6cac ^
28f5cdf7 ^
3134a7b6 ^
0a42be57 ^
37f91427 ^
9874470c ^
3db9fb75 ^

90d5df9e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33