[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FR-devel] why load_setup routine is so complex?
From: |
gabriele renzi |
Subject: |
[FR-devel] why load_setup routine is so complex? |
Date: |
Tue, 22 Jul 2003 22:13:53 +0200 (CEST) |
hi gurus,
I'm trying to understand a thing:
in /freebase/lib/freebase/core.rb
why do we need all these?
def load_setup
setupFile = @properties["config/setup_file"]
return unless (setupFile and File.exist?(setupFile))
file = File.new(setupFile)
setup = file.read
file.close
instance_eval(setup)
load setup
end
to me it seems that
def load_setup
load @properties["config/setup_file"]
end
should fit..
setup.rb is empty ATM so trying to test this thing
would be useless..
I'm sure there is a good reason for this..
but what is it ?
=====
icq #69488917
______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il
filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FR-devel] why load_setup routine is so complex?,
gabriele renzi <=