class Envoku::Railtie
Envoku
Railtie
for using Envoku
to load environment before application is loaded
Public Class Methods
load()
click to toggle source
Rails uses `#method_missing` to delegate all class methods to the instance, which means `Kernel#load` gets called here. We don't want that.
# File lib/envoku/rails.rb, line 18 def self.load instance.load end
Public Instance Methods
load()
click to toggle source
Public: Load Envoku
This will get called during the `before_configuration` callback, but you can manually call `Envoku::Railtie.load` if you needed it sooner.
# File lib/envoku/rails.rb, line 12 def load Envoku.load end