How I can use lazy variable in guards
At the beginning I set a variable to “unknown”
Within a ruby_block I set this variable to its correct value.
I have script resource that should be run if this variable is set to its correct value. I understand I have to use lazy evaluation here, but I didn’t see example on how to achieve this.
Appreciate your help