Sha256: 8665b56e4975811c17f13f6e156087cfe6aa718020cfb2055090d46d6d2425f4

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 Bytes

Contents

module Rad
  class Environment
    inject logger: :logger, config: :config
    
    class << self      
      inject logger: :logger, config: :config
      
      # def initialize_runtime runtime_dir, environment = nil
      #   init_file_path = "#{runtime_dir}/init.rb"                                
      #   load init_file_path if File.exist? init_file_path
      #     
      #   Micon.after :config do |config|
      #     config.runtime_dir = runtime_dir
      #     
      #     config.merge_config! "#{runtime_dir}/config/config.yml"
      #   end
      # end
      # 
      # def initialize_plugin plugin_dir
      #   init_file_path = "#{plugin_dir}/init.rb"                                
      #   load init_file_path if File.exist? init_file_path
      #     
      #   Micon.after :config do |config|          
      #     config.merge_config! "#{plugin_dir}/config/config.yml" 
      #   end
      # end      
    end    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 lib/rad/environment/environment.rb