Module Dotenv
In: lib/dotenv/parser.rb
lib/dotenv/missing_keys.rb
lib/dotenv/version.rb
lib/dotenv/environment.rb
lib/dotenv/cli.rb
lib/dotenv/substitutions/variable.rb
lib/dotenv/substitutions/command.rb
lib/dotenv.rb

The top level Dotenv module. The entrypoint for the application logic.

Methods

Classes and Modules

Module Dotenv::Substitutions
Class Dotenv::CLI
Class Dotenv::Environment
Class Dotenv::Error
Class Dotenv::FormatError
Class Dotenv::Parser

Constants

VERSION = "2.7.2".freeze

Attributes

instrumenter  [RW] 

Public Instance methods

same as `load`, but raises Errno::ENOENT if any files don‘t exist

same as `load`, but will override existing values in `ENV`

same as `overload`, but raises Errno::ENOENT if any files don‘t exist

returns a hash of parsed key/value pairs but does not modify ENV

Internal: Helper to expand list of filenames.

Returns a hash of all the loaded environment variables.

[Validate]