M
Max Williams
I'm in an irb session where i have a lot of modules loaded. All of the
modules have a common parent, 'Thoth'. So, i'm referring to lots of
classes called 'Thoth:ost', 'Thoth::Tag', 'Thoth:age' etc.
To save some typing, i'd just like to refer to these classes as Post,
Tag or Page. Is there a way i can sort of 'move into' the Thoth module,
so i don't have to keep namespacing the classes all the time?
Sorry if i'm not explaining this very well, i'm possibly showing off my
ignorance about the relationship between classes and modules here...
thanks, max
modules have a common parent, 'Thoth'. So, i'm referring to lots of
classes called 'Thoth:ost', 'Thoth::Tag', 'Thoth:age' etc.
To save some typing, i'd just like to refer to these classes as Post,
Tag or Page. Is there a way i can sort of 'move into' the Thoth module,
so i don't have to keep namespacing the classes all the time?
Sorry if i'm not explaining this very well, i'm possibly showing off my
ignorance about the relationship between classes and modules here...
thanks, max