Module: Messaging::Handle::Defaults::Strict
- Defined in:
- lib/messaging/handle/defaults.rb
Defined Under Namespace
Modules: Set
Class Method Summary collapse
Class Method Details
.default ⇒ Object
21 22 23 |
# File 'lib/messaging/handle/defaults.rb', line 21 def self.default 'off' end |
.env_var ⇒ Object
17 18 19 |
# File 'lib/messaging/handle/defaults.rb', line 17 def self.env_var 'HANDLE_STRICT' end |
.get ⇒ Object
9 10 11 |
# File 'lib/messaging/handle/defaults.rb', line 9 def self.get ENV.fetch(env_var, default) end |
.set(val) ⇒ Object
13 14 15 |
# File 'lib/messaging/handle/defaults.rb', line 13 def self.set(val) ENV[env_var] = val end |