          # File lib/rake.rb, line 1972
    1972:     def initialize
    1973:       super
    1974:       @name = 'rake'
    1975:       @rakefiles = DEFAULT_RAKEFILES.dup
    1976:       @rakefile = nil
    1977:       @pending_imports = []
    1978:       @imported = []
    1979:       @loaders = {}
    1980:       @default_loader = Rake::DefaultLoader.new
    1981:       @original_dir = Dir.pwd
    1982:       @top_level_tasks = []
    1983:       add_loader('rb', DefaultLoader.new)
    1984:       add_loader('rf', DefaultLoader.new)
    1985:       add_loader('rake', DefaultLoader.new)
    1986:       @tty_output = STDOUT.tty?
    1987:     end