module LuckyEnv

Defined in:

lucky_env.cr
lucky_env/errors.cr
lucky_env/parser.cr

Constant Summary

VERSION = "0.1.2"

Class Method Summary

Class Method Detail

def self.load(file_path : String) : Hash(String, String) #

Parses the file_path, and loads the results in to ENV raises LuckyEnv::MissingFileError if the file is missing


[View source]
def self.load?(file_path : String) : Hash(String, String) | Nil #

Returns nil if the file is missing


[View source]