What is the use of $ in Ruby?

Question:What is the use of $ in Ruby?

1.$ in Ruby is treated as a class variable

2.$ in Ruby is treated as a global variable

3.both (a) and (b)

4.None of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!