ruby: class instance variables vs instance variables
it was very confusing for me to find out that @variable may mean 2 very different things. No, it doesn’t. Classes are objects just like any other object. They can have instance variables just like any other object. They can have instance methods just like any other object. In fact, unlike Java, which has three … Read more