Module: ComponentHost::Defaults::StartupInfo

Defined in:
lib/component_host/component_host.rb

Class Method Summary collapse

Class Method Details

.defaultObject



66
67
68
# File 'lib/component_host/component_host.rb', line 66

def self.default
  'on'
end

.env_varObject



62
63
64
# File 'lib/component_host/component_host.rb', line 62

def self.env_var
  'STARTUP_INFO'
end

.getObject



58
59
60
# File 'lib/component_host/component_host.rb', line 58

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