Class: Settings::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/teuton-get/settings.rb

Instance Method Summary collapse

Constructor Details

#initialize(reader = nil) ⇒ Environment

Returns a new instance of Environment.



15
16
17
# File 'lib/teuton-get/settings.rb', line 15

def initialize(reader = nil)
  @env = ENV
end

Instance Method Details

#get(key) ⇒ Object



19
20
21
# File 'lib/teuton-get/settings.rb', line 19

def get(key)
  @env[key]
end