Skip to content

Label generated DSL modules for improved debugging clarity#6

Merged
afuno merged 1 commit intomainfrom
feature/SRV-451/module
Feb 13, 2026
Merged

Label generated DSL modules for improved debugging clarity#6
afuno merged 1 commit intomainfrom
feature/SRV-451/module

Conversation

@afuno
Copy link
Copy Markdown
Member

@afuno afuno commented Feb 13, 2026

No description provided.

- Add `label_module` method to assign descriptive labels to anonymous modules.
- Modify `generate` to label the DSL module and `ClassMethods` with matrix-specific names.
- Update tests to validate module labeling for both `inspect` and `to_s` output.
- Use `set_temporary_name` for Ruby 3.3+ to set module names, falling back to `define_singleton_method` for earlier versions.
- Adjust RuboCop exclusions for updated methods.
@afuno afuno self-assigned this Feb 13, 2026
@afuno afuno marked this pull request as ready for review February 13, 2026 15:16
@afuno afuno merged commit c6727ea into main Feb 13, 2026
35 checks passed
@afuno afuno deleted the feature/SRV-451/module branch February 13, 2026 15:17
@afuno afuno added this to the v0.x milestone Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant