-
-
Save anonymous/57bce254fe36d3729c37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 def env_value(required, *path) | |
64 value = path.inject(mynode) do |location, key| | |
65 location.respond_to?(:keys) ? location[key] : nil | |
66 end | |
67 env_check_required(required, value, *path) | |
68 value | |
69 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment