Module: Hashr::Env

Defined in:
lib/hashr/env.rb

Defined Under Namespace

Classes: Vars

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#env_namespaceObject

Returns the value of attribute env_namespace


44
45
46
# File 'lib/hashr/env.rb', line 44

def env_namespace
  @env_namespace
end

Instance Method Details

#defaultsObject


46
47
48
# File 'lib/hashr/env.rb', line 46

def defaults
  Vars.new(super, env_namespace).to_h
end