This repository demonstrates a subtle bug in Ruby related to instance variable shadowing. When a method is defined with the same name as an instance variable, the method takes precedence. Assigning a ...
It’s especially good when used with Literal and Phlex, though it also works with regular Ruby objects and even ERB templates, which are actually pretty common spots for undefined instance variable ...