summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2025-02-26 01:07:39 +0900
committergit <svn-admin@ruby-lang.org>2025-02-25 22:18:02 +0000
commit6efd15a12823883fc94824041f8b3a00927a8364 (patch)
treec36a08e1494e339d18c04197379d4a6753903bec
parent044570fd76d58048ea3deb0693d00a89a746d1b6 (diff)
[ruby/prism] Restore a comment for `Prism::Translation::Parser#initialize`
This restores the missing method comments in https://github.com/ruby/prism/pull/3479. https://github.com/ruby/prism/commit/78b8f67dee
-rw-r--r--lib/prism/translation/parser.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prism/translation/parser.rb b/lib/prism/translation/parser.rb
index 8ea3038347..5f2f01dbda 100644
--- a/lib/prism/translation/parser.rb
+++ b/lib/prism/translation/parser.rb
@@ -33,6 +33,8 @@ module Prism
Racc_debug_parser = false # :nodoc:
+ # The `builder` argument is used to create the parser using our custom builder class by default.
+ #
# By using the `:parser` keyword argument, you can translate in a way that is compatible with
# the Parser gem using any parser.
#