Good overview on mixin in ruby
I am a .NET developer and I want to learn more about how mixins are used in other languages. As mixins are well established in Ruby, I want to ask about good ressources on how开发者_JS百科 mixins can be used in Ruby.
This should get you started:
- A brief intro
- Mixin Tutorial
- Chapter from 'Programming Ruby'
- The RubyLearning notes on Mixins
The Ruby Programming Language has a short and sweet description of mixins. I believe it is mentioned more throughout the book, but the linked section will give you the general overview.
精彩评论