Answers

Question and Answer:

  Home  Ruby

⟩ Explain the use of global variable $ in Ruby?

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

 182 views

More Questions for you: