Difference between revisions of "Powers Of 2 Range Enumerable Mixin Assignment"
Jump to navigation
Jump to search
(Created page with "In this studio we will evolve our code from our Powers of 2 exercise to leverage class mixins.") |
|||
Line 1: | Line 1: | ||
− | In this studio we will evolve our code from our [[ | + | In this studio we will evolve our code from our [[Powers_Of_2_Range_Enumerable|Powers of 2]] exercise to leverage class mixins. |
+ | =Documentation To Invesigate= | ||
+ | : [https://ruby-doc.org/core-3.1.1/Enumerable.html Enumerable] | ||
+ | |||
+ | =Implementation (If Interested)= | ||
+ | : [https://github.com/ruby/ruby/blob/master/enum.c enum.c] | ||
+ | |||
+ | =Code To Modify= | ||
+ | Add | ||
+ | |||
+ | <nowiki>include Enumerable | ||
+ | </nowiki> | ||
+ | |||
+ | to your PowersOfTwoRange class definition. | ||
+ | |||
+ | =Client= | ||
+ | |||
+ | =Test= |
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 (If Interested)
Code To Modify
Add
include Enumerable
to your PowersOfTwoRange class definition.