diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/extensions/basic.rb | 6 | ||||
-rw-r--r-- | code/scheduler.rb | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/code/scheduler.rb b/code/scheduler.rb index 9b716d2f..2a0f0a21 100644 --- a/code/scheduler.rb +++ b/code/scheduler.rb @@ -29,7 +29,7 @@ module Scheduler end def run -# @active = true + @active = true end def stop |