From the example in the book, if I try:
phone = Phone
I get the following error: module Phone is not loaded but was defined. This happens because you are trying to use a module in the same context it is defined. Try defining the module outside the context that requires it.