I recently added Ruby 3.4 support by wrapping prism in my fork with this PR. The PR includes numerous linting changes, but the key function that does this is below:
https://github.com/AppThreat/ruby_ast_gen/blob/a2bac273b2dcb81596b9f5ddec043ae8b80902be/lib/ruby_ast_gen.rb#L116
I am not able to share a PR due to my workload, but hope this information might help.
I recently added Ruby 3.4 support by wrapping prism in my fork with this PR. The PR includes numerous linting changes, but the key function that does this is below:
https://github.com/AppThreat/ruby_ast_gen/blob/a2bac273b2dcb81596b9f5ddec043ae8b80902be/lib/ruby_ast_gen.rb#L116
I am not able to share a PR due to my workload, but hope this information might help.