Module: ComponentHost::Defaults::StartupInfo
- Defined in:
- lib/component_host/component_host.rb
Class Method Summary collapse
Class Method Details
.default ⇒ Object
65 66 67 |
# File 'lib/component_host/component_host.rb', line 65 def self.default 'on' end |
.env_var ⇒ Object
61 62 63 |
# File 'lib/component_host/component_host.rb', line 61 def self.env_var 'STARTUP_INFO' end |
.get ⇒ Object
57 58 59 |
# File 'lib/component_host/component_host.rb', line 57 def self.get ENV.fetch(env_var, default) end |