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