feat: simplify Ruby code
requested to merge gitlab-community/modelops/applied-ml/code-suggestions/ai-assist:simplify-ruby into main
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this merge request do and why?
Remove extra logic to keep it small.
How to set up and validate locally
!940 (merged) added automatic test that ensures that data.jsonl
for fixed gitlab-docs
revision doesn't change.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. - [-] Documentation added/updated, if needed.
Edited by Anatoli Babenia