Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::Translation::RubyParser.parse_file
parse_file(filepath)
lib/prism/translation/ruby_parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/translation/ruby_parser.rb, line 1626
def parse_file(filepath)
new.parse_file(filepath)
end
Parse the given file and translate it into the seattlerb/ruby_parser gem’s Sexp format.