From: Johan Nilsson Date: 2005-01-19T17:51:02+09:00 Subject: File naming conventions Hi, having grokked Ruby for a while now I wonder whether there are any specific recommendations regarding file/directory naming. IF so, where's the place to look? I've been using C++ for quite a while, and what made sense to me was to aim for one class/file and name the file after the class - e.g. MyClass => MyClass.h, MyClass.cpp. If the class were defined inside a namespace (roughly comparable to modules in this specific instance), I'd ususally create a subdirectory reflecting that, e.g.: --- MyNs/MyClass.h -- .... namespace MyNs { class MyClass {}; } // namespace MyNs .... --------------------- To refer to this header from other files I use e.g. "#include ". This seems pretty consistent with e.g. "require 'test/unit'". But - back again to my real question (and now a bit more specific): why all this lower-case only in the files/directorys(that map to module names) within Ruby? As an example: compare Test::Unit::TestCase to test/unit/testcase.rb - any specific reason for this? Regards // Johan