From: "Marvin Gülker" Date: 2010-07-23T03:36:31+09:00 Subject: Re: Typical Ruby (non-rails) project structure. Marvin Gülker wrote: > / > bin/ #Put your executables here > data/ #Everything else needed for the project, e.g. graphics > doc/ #RDoc for the lib/ directory, auto-generated by running the rdoc > command > ext/ #C-Extensions go here > lib/ #Everything internal is handled here > - my_namespace.rb #Contains module methods for MyNamespace > my_namespace/ #Directory for classes in MyNamespace > - my_class.rb #Contains MyNamespace::MyClass > my_inner_namespace/ #Directry for classes in > MyNamespace::MyInnerNamespace > - my_2nd_class.rb #Contains > MyNamespace::MyInnerNamespace::My2ndClass Oops, that got malformatted. Here's a better version: / bin/ #Put your executables here data/ #Everything else needed for the project, e.g. graphics doc/ #RDoc for the lib/ dir, auto-generated by running "rdoc" ext/ #C-Extensions go here lib/ #Everything internal is handled here - my_namespace.rb #Contains module methods for MyNamespace my_namespace/ #Directory for classes in MyNamespace - my_class.rb #Contains MyNamespace::MyClass my_inner_namespace/ #classes in MyNamespace::MyInnerNamespace - my_2nd_class.rb #MyNamespace::MyInnerNamespace::My2ndClass Marvin -- Posted via http://www.ruby-forum.com/.