Created
October 8, 2019 20:32
-
-
Save AccidentallyTheCable/bcaa2cbb12b19c822621d08f0a08ec9a 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
JSON: { ... , "version": "3.4.0", "target": "#{baseDir}/lib/" }, | |
baseDir = "/some/Path" | |
fileBase = "myfile" | |
.... | |
filePath = jsonData["target"] | |
filePath += "#{fileBase}" | |
filePath = instance_eval(filePath) | |
targetDir = ::File.dirname(filePath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment