From 1ec7a5eeb823d36a2fbccb2f51c6ec9a157adb35 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 11 Jun 2009 22:00:14 +0200 Subject: clearing up --- code/extensions/basic.rb | 6 +++--- code/scheduler.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'code') 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 -- cgit 1.4.1-2-gfad0