Module: ComponentHost::Defaults::EnvVarInfo
- Defined in:
- lib/component_host/component_host.rb
Class Method Summary collapse
Class Method Details
.default ⇒ Object
78 79 80 |
# File 'lib/component_host/component_host.rb', line 78 def self.default 'on' end |
.env_var ⇒ Object
74 75 76 |
# File 'lib/component_host/component_host.rb', line 74 def self.env_var 'ENV_VAR_INFO' end |
.get ⇒ Object
70 71 72 |
# File 'lib/component_host/component_host.rb', line 70 def self.get ENV.fetch(env_var, default) end |