Module: Virtuatable::Builders::Helpers::Environment

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/virtuatable/builders/helpers/environment.rb

Overview

Loads the environment variables from the .env file at the project’s root.

Author:

Instance Method Summary collapse

Instance Method Details

#load_environment!Object



15
16
17
18
# File 'lib/virtuatable/builders/helpers/environment.rb', line 15

def load_environment!
  Dotenv.load('.env', "#{mode}.env")
  Virtuatable::Specs.include_shared_examples
end