Understanding Ruby Method Lookup
Ruby lets you express yourself like few other languages, with a minimum of boilerplate. It’s fantastic until it isn’t. Until one day when you think you’re calling the foo
method you wrote last week, but instead, you end up calling a foo
method that came with some gem from 2008. In these situations, knowing about Ruby’s method lookup rules will save your bacon.
https://www.honeybadger.io/blog/ruby-method-lookup/
Post a comment