Module: ComponentHost::Defaults::EnvVarInfo

Defined in:
lib/component_host/component_host.rb

Class Method Summary collapse

Class Method Details

.defaultObject



80
81
82
# File 'lib/component_host/component_host.rb', line 80

def self.default
  'on'
end

.env_varObject



76
77
78
# File 'lib/component_host/component_host.rb', line 76

def self.env_var
  'ENV_VAR_INFO'
end

.getObject



72
73
74
# File 'lib/component_host/component_host.rb', line 72

def self.get
  ENV.fetch(env_var, default)
end