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 20 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!