diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/fm.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/code/fm.rb b/code/fm.rb index 84b9835f..67d6829d 100644 --- a/code/fm.rb +++ b/code/fm.rb @@ -76,10 +76,17 @@ module Fm end end + def reload_types() + load 'data/types.rb' + load 'data/apps.rb' + end + def boot_up(pwd=nil) pwd ||= @pwd.path || Dir.getwd Scheduler.reset + reload_types + @dirs = Hash.new() do |hash, key| hash[key] = newdir = Directory.new(key) # newdir.schedule |