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
-
.load ⇒ Object
Requires the Mack application classes only once.
Class Method Details
.load ⇒ Object
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 |