Module: Mack::Environment

Includes:
Extlib::Hook
Defined in:
lib/mack/initialization/environment.rb

Overview

Allows hook methods for the loading of the environment.

Class Method Summary collapse

Class Method Details

.loadObject

Requires the Mack application classes only once. This is the method you want to add ‘hooks’ on for application load setup.



9
10
11
12
13
# File 'lib/mack/initialization/environment.rb', line 9

def self.load
  ivar_cache do
    require File.join(File.dirname(__FILE__), "..", "..", "mack_app")
  end
end