Class namespace

I am trying to organize some of my classes in to namespaces using
something like this:

module FileSystem
class Explorer
include Reloadable

Everything is fine until a decide to “reload!” on the console. I am
getting the following error:

NameError: uninitialized constant Explorer
ndencies.rb:123:in `const_missing’

Therefore I have to ‘exit’ and launch the Console again whenver I
change something in my code.
Is there a way to prevent this?

Thanks in advance,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs