From: Ross Bamford Date: 2005-12-23T00:52:49+09:00 Subject: Re: Nested class, require On Thu, 22 Dec 2005 14:19:20 -0000, List Recv wrote: > How does ruby view nested classes - that is, to define a class within > another class? > I know that you cannot define a class within a method (not sure why)? > > Also, is require the same thing as "copy and paste dynamically", or does > it drop down to the global namespace, or do something else? > I've just been playing with this a bit, and have updated the relevant nuby files: http://roscopeco.co.uk/code/noob/flexi-class.html http://roscopeco.co.uk/code/noob/require-include.html I'm not sure it answers your question but it exercises these concepts :) -- Ross Bamford - rosco@roscopeco.remove.co.uk