Sha256: 7b73fa952f24c8d6aba9fbac1036c4f72452accfa54fa779c348eb08d97bf722
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
# Use a json_spec style memorized value as an environment variable When /I set the environment variable "(.*)" to memorized value "(.*)"/ do |key, value| JsonSpec.memory.each do |k,v| # JSON parser doesn't function properly on a JSON encoded string v = v[1...-1] if v[0] == '"' value.gsub! "%{#{k}}", v end set_environment_variable key, value end
Version data entries
5 entries across 5 versions & 1 rubygems