ruby nested classes and modules
Posted
by ash34
on Stack Overflow
See other posts from Stack Overflow
or by ash34
Published on 2010-05-14T06:47:10Z
Indexed on
2010/05/14
6:54 UTC
Read the original article
Hit count: 274
ruby
Hi,
I am familiar with the concept of nesting classes and modules within another module and grouping them in a namespace. What is the idea / purpose behind
- Nesting classes within another class
class A class B def method_B ... end end end
2.Nesting modules within another class
class A module c def method_c ... end end end
thanks, ash
© Stack Overflow or respective owner