adspace


What is the use of $ in ruby?

Answer Posted / Milky Sodhi

$ in Ruby represents global variables, which are accessible from anywhere in your script. They are declared without a variable name.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of ruby on rails?

948