Question from the Ruby (legacy) test

How to get the value of an instance variable in Ruby

Expert

Given the following code. How can I get the value of @rand from outside the class?

Author: Olivier MillaStatus: PublishedQuestion passed 21 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!