I have some existing ruby classes in a app/classes folder:
class A ... end class B ... end
I\'d like to group those classes in a mod
module Foo A = ::A B = ::B end Foo::A.new.bar
Note that the :: prefix on a constant starts searchign the global namespace first. Like a leading / on a pathname. This allows you differentiate the global class A from the modularized constant Foo::A.
::
/
A
Foo::A