Class: Remotenv::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Remotenv::Railtie
- Defined in:
- lib/remotenv/rails.rb
Overview
Remotenv Railtie for using Remotenv to load environment before application is loaded
Class Method Summary collapse
-
.load ⇒ Object
Rails uses ‘#method_missing` to delegate all class methods to the instance, which means `Kernel#load` gets called here.
Instance Method Summary collapse
-
#load ⇒ Object
Public: Load Remotenv.
Class Method Details
.load ⇒ Object
Rails uses ‘#method_missing` to delegate all class methods to the instance, which means `Kernel#load` gets called here. We don’t want that.
18 19 20 |
# File 'lib/remotenv/rails.rb', line 18 def self.load instance.load end |