Assign a global variable that can be accessed from outside the method #21984
Unanswered
kTipSSIoYv
asked this question in
Q&A
Replies: 1 comment
-
|
You should be able to do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to assign a global variable that can be accessed from outside the method?
I tried the following and I can retrieve it from within the method but not from outside.
prov = $evm.root['miq_provision']
prov.set_option(:testing, 'testing_1234')
Beta Was this translation helpful? Give feedback.
All reactions