What Is Self in Ruby & How to Use It (Explained Clearly)
If you’re learning Ruby you may find the use of the “self” keyword very confusing. How does it work? What is self, exactly? It’s a Ruby keyword that gives you access to the current object. If you don’t know what objects are, watch this video I made for you. It’s related to Object-Oriented Programming. This … Read more