Permalink
Browse files

Fix LOADED_FEATURES munging

  • Loading branch information...
1 parent df9f70b commit edb81837b58a088df7af742c75edf8c352b5bd81 @bmalex bmalex committed with Mar 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/amalgalite/requires.rb
View
4 lib/amalgalite/requires.rb
@@ -107,8 +107,8 @@ def require( filename )
contents = file_contents(filename)
if contents
- eval( contents, TOPLEVEL_BINDING, row[filename_column] )
- $LOADED_FEATURES << row[filename_column]
+ eval( contents, TOPLEVEL_BINDING, filename )
+ $LOADED_FEATURES << filename
return true
else
return false

0 comments on commit edb8183

Please sign in to comment.