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