Render Part D Assignment
In this studio we will evolve our code from Render_Part_C_Assignment to leverage mixins.
Continue editing files in the render/assignment directory.
Contents
Code to Implement
Composite
module Composite should define methods push_component and each_component as well as include the Enumerable module.
push_component
each_component
if a block is given, yield for each component. otherwise return a new Enumerator of the components.
CompositeTransform
include Composite and clean up existing code.
Scene
include Composite and clean up existing code.