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