Sha256: ed038c49cc803303dec168569bb10c7dd98c8bd0bf0d30b5f3fdf0c28a9f92f7

Contents?: true

Size: 611 Bytes

Versions: 4

Compression:

Stored size: 611 Bytes

Contents

require 'java'
require 'fileutils'

require "core/logger"
require "core/reentry_helpers"
require "core/controller"
require "core/gui"
require "core/interface"
require "core/model"
require "core/observable"
require "core/observable_struct"
require "core/persistent_cache"
require "core/plugin"
require "core/plugin/storage"

module Redcar
  class Core
    include HasLogger
    
    def self.loaded
      Core::Logger.init
      unless File.exist?(Redcar.user_dir)
        FileUtils.mkdir(Redcar.user_dir)
      end
      PersistentCache.storage_dir = File.join(Redcar.user_dir, "cache")
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redcar-0.3.4.3 plugins/core/lib/core.rb
redcar-0.3.4.2 plugins/core/lib/core.rb
redcar-0.3.4.1 plugins/core/lib/core.rb
redcar-0.3.4 plugins/core/lib/core.rb