diff options
Diffstat (limited to 'code/extensions/basic.rb')
-rw-r--r-- | code/extensions/basic.rb | 6 |
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 |