Class: Kender::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kender/configuration.rb

Overview

This class abstracts access to configuration values. Currently, the values are read from the environment.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name) ⇒ Object



7
8
9
# File 'lib/kender/configuration.rb', line 7

def method_missing(name)
  ENV[name.to_s.upcase]
end