# File lib/isolate/sandbox.rb, line 25
    def initialize options = {}, &block
      @enabled      = false
      @entries      = []
      @environments = []
      @files        = []
      @options      = options

      fire :initializing

      user = File.expand_path "~/.isolate/user.rb"
      load user if File.exist? user

      file, local = nil

      unless FalseClass === options[:file]
        file  = options[:file] || Dir["{Isolate,config/isolate.rb}"].first
        local = "#{file}.local" if file
      end

      load file if file

      if block_given?
        /\@(.+?):\d+/ =~ block.to_s
        files << ($1 || "inline block")
        instance_eval(&block)
      end

      load local if local && File.exist?(local)
      fire :initialized
    end