Avoid these traps when nesting Ruby modules (blog.honeybadger.io)

2015/08/27 05:09PM

It turns out that the “inheritance” of a parent’s constants by the child isn’t due to the parent/child relationship. It’s lexical. That means that it’s based on the structure of your code, not on the structure of the objects your code is building.