# File mockfs/override.rb, line 64
def require( library_name )
        begin
                MockFS.mock = false
                super
                MockFS.mock = true
        rescue LoadError => err
                MockFS.mock = true
                file = library_name
                file += '.rb' unless library_name =~ /\.rb$/
                if File.exist? file
                        contents = File.open( file ) do |f| f.gets( nil ); end
                        eval contents
                else
                        raise
                end
        end
end