Q: What does the last expression evaluates to?
Answered
quizz 34/36
A = 5 my_proc = proc { A } def my_method my_proc.call end my_method
copy
Ruby 3.3.0
5
nil
undefined local variable or method `my_proc' for main (NameError)
uninitialized constant A (NameError)
privacy policy