Class: JetBlack::Environment
- Inherits:
-
Object
- Object
- JetBlack::Environment
- Defined in:
- lib/jet_black/environment.rb
Instance Method Summary collapse
-
#initialize(raw_env) ⇒ Environment
constructor
A new instance of Environment.
- #to_h ⇒ Object
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_h ⇒ Object
9 10 11 |
# File 'lib/jet_black/environment.rb', line 9 def to_h apply_path_prefix(stringify_env(raw_env)) end |