Skip to content

Commit 6efd15a

Browse files
koicmatzbot
authored andcommitted
[ruby/prism] Restore a comment for Prism::Translation::Parser#initialize
This restores the missing method comments in ruby/prism#3479. ruby/prism@78b8f67dee
1 parent 044570f commit 6efd15a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/prism/translation/parser.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def initialize(message, level, reason, location)
3333

3434
Racc_debug_parser = false # :nodoc:
3535

36+
# The `builder` argument is used to create the parser using our custom builder class by default.
37+
#
3638
# By using the `:parser` keyword argument, you can translate in a way that is compatible with
3739
# the Parser gem using any parser.
3840
#

0 commit comments

Comments
 (0)