On Mon, Aug 13, 2012 at 9:17 PM, Chad Perrin <[email protected]> wrote:

> Why not use modules as namespaces?

How would you use modules as namespaces here?  If the class includes
all those modules their methods are not in different namespaces but
all visible at the instance.

I agree with what Jan wrote: if the class is so large then there are
definitively too many methods and too few classes.  OP, can you please
show a realistic example or explain what you want to do?

Kind regards

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to