Wayne Pierce wrote:
> I'm working on a white-box security auditing framework, which is
> currently written in Python and makes use of exec_file to load some
> security scans at startup.  Is there a way to do the same thing in
> Ruby?
> 
> For those not familiar with Python, exec_file allows me to read an
> external file and save the resulting objects to a hash/dictionary of
> my choosing.  I can then check the values or execute functions that
> have been saved in my hash.

Check out "script" on RAA: http://raa.ruby-lang.org/project/script.