Closed ondreian closed 4 years ago
Adds support for Script#value, like the result of a bash function.
Here is a simple example:
# demo.lic math = Script.run("add", "1 1") respond math.value
# math.lic Script.current.vars[1..-1].map(&:to_i).reduce(&:+)
Adds support for Script#value, like the result of a bash function.
Here is a simple example: