From: burke Date: 2010-01-26T13:20:05+09:00 Subject: Re: Is there a way to list the classes defined in a module? > Castle.constants Pretty much. This will also return any other constants you make in the namespace -- for example, if you had Castle::Location = "Scotland", you'd also get "Location" back. If that causes you problems, you can do: irb(main):034:0> Castle.constants.select{|e|Castle.const_get (e).kind_of? Class} => ["King", "Guard", "Queen", "Dragon_keeper", "Royalty", "Commoner"]