mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-02 02:11:29 +00:00
handle brace factory blocks
This commit is contained in:
parent
e78b9b0a39
commit
b78bba98fa
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export const rubyFactoryBindingName = (node: SyntaxNode): string | undefined =>
|
|||
|
||||
export const rubyClassConfig: ClassExtractionConfig = {
|
||||
language: SupportedLanguages.Ruby,
|
||||
typeDeclarationNodes: ['class', 'do_block'],
|
||||
typeDeclarationNodes: ['class', 'do_block', 'block'],
|
||||
ancestorScopeNodeTypes: ['module', 'class'],
|
||||
// #1978: key nested-type nodes by their fully-qualified path (Outer.Inner) so
|
||||
// same-tail classes nested under different modules stay distinct.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue