Can anyone explain the difference between accessing an instance attribute via self.attribute and by @attribute?
self.attribute
@attribute
"Accessing instance variable directly is about two times faster than accessing them with accessor methods"
Check out the: https://www.greyblake.com/blog/2012-09-01-ruby-perfomance-tricks/