An Easier Way to Think About `self`
Ruby’s self
method can seem arbitrary, but there is an underlying structure to its behavior. When you understand it, not only will your own programs make more sense, but so will many advanced Ruby techniques which may have previously been shrouded in mystery. http://www.rubyletter.com/blog/2017/01/24/understanding-ruby-self.html
Post a comment