Modules and Mixins Flashcards
1
Q
What are Mixins in Ruby?
A
Mixins are code repositories that can be included (mixed-in) into classes when we need some common shared features.
2
Q
What is of the :: operator?
A
It is the scope resolution operator.