I'm learning the basics of ruby and found a site with some interesting articles. I'm reading one about using mixins and how they can be used to easily add a bunch of useful functions to your class.
Here is some example code that confused me.
class Queue
include Enumerable
def initialize(file)
@file = file