Module: Evilution::Config::EnvLoader Private
- Defined in:
- lib/evilution/config/env_loader.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .load ⇒ Object private
Class Method Details
.load ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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 |