Ruby - Classes and Objects
Why does
self inside a class method refer to the class object and not an instance in Ruby?self inside a class method refer to the class object and not an instance in Ruby?self refers to the object the method is called on, which is the class object.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions