From 5d946558eb452569a315349d52e9cbd3adef2fd0 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 1 Feb 2024 17:06:59 -0500 Subject: [PATCH] Fix up Prism::Translation::Parser docs --- docs/parser_translation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/parser_translation.md b/docs/parser_translation.md index af839b45149..65d58077950 100644 --- a/docs/parser_translation.md +++ b/docs/parser_translation.md @@ -9,7 +9,7 @@ The `parser` gem provides multiple parsers to support different versions of the You can use the `prism` parser like you would any other. After requiring the parser, you should be able to call any of the regular `Parser::Base` APIs that you would normally use. ```ruby -require "prism/translation/parser" +require "prism" Prism::Translation::Parser.parse_file("path/to/file.rb") ```