Class: JetBlack::Environment

Inherits:
Object
  • Object
show all
Defined in:
lib/jet_black/environment.rb

Instance Method Summary collapse

Constructor Details

#initialize(raw_env) ⇒ Environment

Returns a new instance of Environment.



5
6
7
# File 'lib/jet_black/environment.rb', line 5

def initialize(raw_env)
  @raw_env = raw_env.dup
end

Instance Method Details

#to_hObject



9
10
11
# File 'lib/jet_black/environment.rb', line 9

def to_h
  apply_path_prefix(stringify_env(raw_env))
end