Module: Evilution::Config::EnvLoader
- Defined in:
- lib/evilution/config/env_loader.rb
Class Method Summary collapse
Class Method Details
.load ⇒ Object
6 7 8 9 10 11 |
# File 'lib/evilution/config/env_loader.rb', line 6 def load opts = {} val = ENV.fetch("EV_DISABLE_EXAMPLE_TARGETING", nil) opts[:example_targeting] = false if val && !val.empty? && val != "0" opts end |