Mixins are one of Ruby's defining features, but often one of the most difficult to understand for those new to Ruby. They're not difficult to understand, but they're not something most programmers have encountered before as most languages don't have mixins. A mixin is a way for code to be shared across multiple classes and is closely related to duck typing.
Read the complete articleComments
No comments yet. Leave a Comment

