Module: JunglePath::Config

Defined in:
lib/jungle_path/config.rb

Defined Under Namespace

Classes: Configuration, ConfigurationRoot

Class Method Summary collapse

Class Method Details

.set_global_onObject



53
54
55
56
57
58
59
60
61
62
63
# File 'lib/jungle_path/config.rb', line 53

def self.set_global_on
  # Monkey patch kernel module:
  ::Kernel.module_eval do
    #def configatron
    #  Config::ConfigurationRoot.instance
    #end
    def jungle
      Config::ConfigurationRoot.instance
    end
  end
end