Class | Amalgalite::Requires |
In: |
lib/amalgalite/requires.rb
lib/amalgalite/requires.rb |
Parent: | Object |
compressed_column | [R] | |
compressed_column | [R] | |
contents_column | [R] | |
contents_column | [R] | |
db_connection | [R] | |
db_connection | [R] | |
dbfile_name | [R] | |
dbfile_name | [R] | |
filename_column | [R] | |
filename_column | [R] | |
table_name | [R] | |
table_name | [R] |
Setting a class level variable as a flag to know what we are currently in the middle of requiring
Setting a class level variable as a flag to know what we are currently in the middle of requiring
load a file in this database table. This will check and see if the file is already required. If it isn‘t it will select the contents associated with the row identified by the filename and eval those contents within the context of TOPLEVEL_BINDING. The filename is then appended to $LOADED_FEATURES.
if the file was required then true is returned, otherwise false
load a file in this database table. This will check and see if the file is already required. If it isn‘t it will select the contents associated with the row identified by the filename and eval those contents within the context of TOPLEVEL_BINDING. The filename is then appended to $LOADED_FEATURES.
if the file was required then true is returned, otherwise false