From: brabuhr@... Date: 2010-07-23T03:38:06+09:00 Subject: Re: Typical Ruby (non-rails) project structure. >> / >>   bin/  #Put your executables here >>   data/ #Everything else needed for the project >>   doc/  #RDoc for the lib/ directory >>   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 MyClass >>       my_inner_namespace/ >>          - my_2nd_class.rb > > So all my code looks like it would go under lib/ correct? > What does -my_namespace.rb refer to? Is this the Ruby class driver for > the applicaiton? Also my_inner_namespace.. not sure I understand this? I think he means something like: / lib/ library_name.rb # This is the file that consumers of this # library will require; it will create the # module and load the actual library. require './library_name/library_class' module LibraryName VERSION = "..." end library_name/ library_class.rb # The class that implements the library. module LibraryName class LibraryClass end end another_class.rb # A support class for the library. module LibraryName class AnotherClass end end submodule/ yet_another_class.rb # A support class in a submodule. module LibraryName module Submodule class YetAnotherClass end end end