Module: SauceWhisk
- Defined in:
- lib/saucer/patches/sauce_whisk.rb
Class Method Summary collapse
Class Method Details
.load_first_found(key) ⇒ Object
2 3 4 5 6 |
# File 'lib/saucer/patches/sauce_whisk.rb', line 2 def self.load_first_found(key) self.instance_variable_get("@#{key}".to_sym) || self.from_yml(key) || ENV["SAUCE_#{key.to_s.upcase}"] end |