I’ve done a talk about Ruby in Barcamp Bangkok 4 on Oct 24. Here is the slide in case someone want it.
One good question actually was the difference between
class. Actually, it just that simple — you cannot create object from a module.
Module exists in Ruby to help you DRY up your code.
When you write several classes which have the same functionality, you better take that portion of the code out and put it in a module and
include them back into your classes. That’s actually something Ruby coder loves to do — DRY up your code, and make it more maintainable.
If you have any more question, feel free to post them in the comment section. I actually fumbled on my word a lot, because I didn’t get enough sleep last night. If you also want me to clearify something up, please let me know. Anyway, I hope you enjoyed it.