From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-05-30T05:41:24+09:00 Subject: [ruby-talk:15953] Re: namespace partitioning in Ruby In article <9f0u7n$v3l$1@trantor.cosmic.com>, Mirian Crzig Lennox wrote: >Does Ruby support anything like Java's packages for partitioning >the class name namespace? I understand that you can embed classes >within other classes, but is that the canonical way of doing so? modules are used to create new namespaces in Ruby. I could type in some examples, but the chaper on modules (chapter 9) in the online Pickaxe book explains it well: http://www.rubycentral.com/book/tut_modules.html Phil