Method: Kamal::Configuration::Role#env

Defined in:
lib/kamal/configuration/role.rb

#env(host) ⇒ Object



89
90
91
92
# File 'lib/kamal/configuration/role.rb', line 89

def env(host)
  @envs ||= {}
  @envs[host] ||= [ config.env, specialized_env, *env_tags(host).map(&:env) ].reduce(:merge)
end