Woops, the file was named wrong.  Instead of HelloWorld.rb it needed
to be hello_world.rb.  Now Class.subclass only shows classes that have
been instantiated, so I can't quite get a list of subclasses without
creating a new instance of all of them.

So how would I loop through the files in the widgets directory and get
the class name from each of them?  Furthermore, how would I execute
that class later dynamically since the class name will be held in a
variable?

Thanks,
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to