Sha256: 5557db8fbb2068e1fccae48a469eb8330d2e5aace1c0b8262e80eb5c8fab009c

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

require "core/logger"
require "core/controller"
require "core/gui"
require "core/model"
require "core/observable"
require "core/plugin"

module Redcar
  class Core
    include HasLogger
    
    def self.load
      Core::Logger.init
    end
    
    def self.platform
      case Config::CONFIG["target_os"]
      when /darwin/
        :osx
      when /mswin/
        :windows
      when /linux/
        :linux
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redcar-0.3.0dev plugins/core/lib/core.rb
redcar-0.2.9dev plugins/core/lib/core.rb