summary refs log tree commit diff stats
path: root/code/extensions/basic.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-11 22:00:14 +0200
committerhut <hut@lavabit.com>2009-06-11 22:00:14 +0200
commit1ec7a5eeb823d36a2fbccb2f51c6ec9a157adb35 (patch)
treeeed0956cab8cee00b209782c9fe8ff357d7b8d66 /code/extensions/basic.rb
parent41fddc99de7878ff7d90fafcb120003d0dc2c0d9 (diff)
downloadranger-1ec7a5eeb823d36a2fbccb2f51c6ec9a157adb35.tar.gz
clearing up
Diffstat (limited to 'code/extensions/basic.rb')
-rw-r--r--code/extensions/basic.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/extensions/basic.rb b/code/extensions/basic.rb
index 520dac42..1bc67519 100644
--- a/code/extensions/basic.rb
+++ b/code/extensions/basic.rb
@@ -135,9 +135,9 @@ class File
 		end
 
 		s = ("%o" % File.stat(f).mode)[-3..-1]
-#		s.each_char do |m|
-#			result << MODES_HASH[m]
-#		end
+		for m in s.each_char
+			result << MODES_HASH[m]
+		end
 
 		result
 	end