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