-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce duplicated code in content module classes #956
Comments
Yep, we've got the I'm guessing the code you spotted pre-dates the wrapper method or maybe it didn't work with it for some reason? |
I was about to go look over at the Wrapper class. Thanks! Super new to the code so my apologizes. |
Oh no worries at all! I wrote the wrapper but it looks like the instance I linked to is the only user of it :) |
This would prob be a nice cleanup task for when you feel bored :) |
Work on in sustain if no other bugs to fix. |
Browsing through code and I spotted nearly duplicated methods inside some of the content module classes. Could meta programming be implemented in this case? Maybe that's overkill and/or be super low-priority. Just thought I would throw in my two cents.
Reference: https://github.com/openstax/tutor-server/blob/50b622fb63f7dc26567f868a2828b5c29d5a206d/app/subsystems/content/exercise.rb
The text was updated successfully, but these errors were encountered: