Sha256: 5e7f7d7dd60ff9c787866a8372e4f54d03d7e4bf5a71b03c80383fac068ab6d3
Contents?: true
Size: 827 Bytes
Versions: 2
Compression:
Stored size: 827 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" require "core/task" require "core/task_queue" require "core/resource" module Redcar def self.tmp_dir path = File.join(Redcar.user_dir, "tmp") unless File.exists?(path) FileUtils.mkdir(path) end path end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redcar-0.3.6 | plugins/core/lib/core.rb |
redcar-0.3.5 | plugins/core/lib/core.rb |