On 29/05/2013, at 1:11 AM, Denis BEURIVE <lists / ruby-forum.com> wrote:

> I have written a library that calculates dates based on CRON
> specifications. I'd like to publish it as a GEM.
> 
> In order to avoid name collisions, I create a module ("Cron") that holds
> all the classes that build the library. In fact the is two classes :
> 
> Cron::Calendar
> Cron::NoNextExecution

It is good practice to wrap your classes in a module. Lots of gems do this.



> Is it correct to say : "my GEM is a module" ?

Your gem is gem, it doesn't matter if there is a module.

Henry