The class a `Foo.new(…)` constructs, or null for any other text.
(text: string)
| 424 | |
| 425 | /** The class a `Foo.new(…)` constructs, or null for any other text. */ |
| 426 | function constructedClass(text: string): string | null { |
| 427 | const made = CONSTRUCTED.exec(text); |
| 428 | return made && (made[2] === undefined || closesAtEnd(made[2])) ? made[1]! : null; |
| 429 | } |
| 430 | |
| 431 | export const rubyParameterFlow: ParameterFlowLanguage = { |
| 432 | language: 'ruby', |
no test coverage detected