class EnvManager::Loader

Public Class Methods

new(basepath) click to toggle source

Arguments

* Basepath - Pathname Object
# File lib/env_manager/loader.rb, line 9
def initialize(basepath)
  @basepath = basepath
end

Public Instance Methods

read() click to toggle source

Returns

Returns the content of the env file read

# File lib/env_manager/loader.rb, line 18
def read
  @basepath.join(".env").read
end