Topic: Help. I Need Some Answers to These Simple Ruby Questions
I need some help on this.
How would I access the following?
1) A global variable called data.
2) A local variable of a function called index.
3) A constant called PI defined in a class called Maths.
4) An instance variable called counter.
5) A class variable called timestamp.
Thank you very much. I would really appreciate your help.