module EnvManager

Constants

MAJOR
MINOR
PATCH

Public Class Methods

load(path) click to toggle source

Reads the env file for the given environment and returns an object representation of the environment variables defined within that file.

# File lib/env_manager.rb, line 11
def self.load(path)
  env_file = Loader.new(path)
  Builder.new(env_file.read)
end
version() click to toggle source
# File lib/env_manager/version.rb, line 6
def self.version
  [
    MAJOR, MINOR, PATCH
  ].join('.')
end