what is the Notation used for denoting class variables in Ruby?
Answer / Sachin Arya
In Ruby, class variables are denoted using two at signs (@@). They are shared among all instances of a class and its subclasses.
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you freeze an object in ruby?
How to check whether a directory exist or not in Ruby?
In how many ways a block is written in Ruby?
Explain about environment variables present in ruby?
difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?
What is the difference between ruby 1.9 and ruby 2.0?
Are ruby strings are mutable?
What is concatenating string in Ruby?
How would you implement hash in ruby internally?
Tell us in ruby, it explains about the defined operator?
What is a symbol in ruby?
Explain about methods?