I’m sorry for all of those who prefer my regular tutorial-like posts. This one is just a recap of the last MontrealOnRails conference that was held last tuesday in the StandoutJobs offices. (Psst! They’re hiring… so if you know your Rails, you might want to get in touch with them!). I went there along with [...]
It’s modules like Comparable and Enumerable that makes the concept of modules so attracting. Yes, modules can be used as namespaces only, but they really shine when you use them to enhance your classes.
Almost every languages have variables, constants, classes and objects… but who knew about modules before Ruby was invented? A ruby module is not that easy to define because it can serve two different purposes. If we introduce the word Mixin in our definition, we’re diving into the more complex side of what modules are. Today, [...]