diff options
-rw-r--r-- | code/extensions/basic.rb | 6 | ||||
-rw-r--r-- | code/scheduler.rb | 2 | ||||
-rwxr-xr-x | ranger.rb | 2 |
3 files changed, 5 insertions, 5 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 diff --git a/ranger.rb b/ranger.rb index 7409060d..b9dd8e7d 100755 --- a/ranger.rb +++ b/ranger.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -Kudw +#!/usr/bin/ruby -Ku version = '0.2.2' # Log details |