module Envlogic

def env

Other tags:
    Example: Invoke env in TestClass -

Returns:
  • (Envlogic::Env) - envlogic env instance that allows us to check environment
def env
  @env ||= Envlogic::Env.new(self)
end

def env=(environment)

Other tags:
    Example: Assign new environment to MyApp -

Returns:
  • (Envlogic::Env) - envlogic env instance

Parameters:
  • environment (String, Symbol) -- new environment that we want to set
def env=(environment)
  env.update(environment.to_s)
end