Difference between revisions of "Powers Of 2 Range Enumerable Mixin Assignment"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
: [https://ruby-doc.org/core-3.1.1/Enumerable.html Enumerable] | : [https://ruby-doc.org/core-3.1.1/Enumerable.html Enumerable] | ||
− | =Implementation (If Interested)= | + | =Implementation To Investigate (If Interested)= |
: [https://github.com/ruby/ruby/blob/master/enum.c enum.c] | : [https://github.com/ruby/ruby/blob/master/enum.c enum.c] | ||
Revision as of 17:11, 11 April 2022
In this studio we will evolve our code from our Powers of 2 exercise to leverage class mixins.
Contents
Documentation To Invesigate
Implementation To Investigate (If Interested)
Code To Modify
Add
include Enumerable
to your PowersOfTwoRange class definition.