Method: Env.method_missing

Defined in:
lib/environs/env.rb

.method_missing(method, *args, &block) ⇒ Object



5
6
7
8
# File 'lib/environs/env.rb', line 5

def method_missing(method, *args, &block)
  key = method.to_s.upcase
  key.match(/\w+/) ? env_key(key, *args) : super
end