Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $imported = {} if $imported.nil?
- $imported['DARK_Externalizer'] = true
- module Externalizer
- DIR = 'Scripts/**'
- LOADER = 'Loader'
- end
- $TEST = false
- def load_script(path)
- v, $VERBOSE = $VERBOSE, nil unless $TEST || $BTEST
- Dir["#{Externalizer::DIR}/#{path}.rb"].each { |f| eval(File.new(f).read) }
- $VERBOSE = v unless $TEST || $BTEST
- end
- load_script(Externalizer::LOADER)
Add Comment
Please, Sign In to add comment