Skip to content
Snippets Groups Projects
Commit b672b44c authored by Jack Nagel's avatar Jack Nagel
Browse files

Add ENV.append_path

parent 5e41d0f5
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,15 @@ module SharedEnvExtension
end
end
end
def append_path key, path
append key, path, File::PATH_SEPARATOR if File.directory? path
end
def prepend_path key, path
prepend key, path, File::PATH_SEPARATOR if File.directory? path
end
def remove keys, value
Array(keys).each do |key|
next unless self[key]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment