Explain the use of global variable $ in Ruby?

Submitted by: Administrator
If you declare one variable as global we can access any where, where as class variable visibility only in the class
Submitted by: Administrator

Read Online Ruby Job Interview Questions And Answers