Skip to content

Use relative class/module names in RBS output#394

Merged
mame merged 1 commit intoruby:masterfrom
mame:fix-relative-class-module-names-in-rbs-output
Feb 25, 2026
Merged

Use relative class/module names in RBS output#394
mame merged 1 commit intoruby:masterfrom
mame:fix-relative-class-module-names-in-rbs-output

Conversation

@mame
Copy link
Member

@mame mame commented Feb 25, 2026

format_declared_const_path was already used for constant declarations but not for class/module declarations, causing fully qualified names like class Optcarrot::ROM inside module Optcarrot instead of the simpler class ROM.

@mame mame enabled auto-merge (rebase) February 25, 2026 13:33
format_declared_const_path was already used for constant declarations
but not for class/module declarations, causing fully qualified names
like `class Optcarrot::ROM` inside `module Optcarrot` instead of
the simpler `class ROM`.
@mame mame force-pushed the fix-relative-class-module-names-in-rbs-output branch from 09da9bd to 8efd601 Compare February 25, 2026 13:41
@mame mame merged commit ae070ab into ruby:master Feb 25, 2026
7 checks passed
@mame mame deleted the fix-relative-class-module-names-in-rbs-output branch February 25, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant