---
date: "2015-08-27T17:09:00-05:00"
tags:
  - ruby
---

# [Avoid these traps when nesting Ruby modules](http://blog.honeybadger.io/avoid-these-traps-when-nesting-ruby-modules/)

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.
