From e85fd7c8783b51e6a1fb274a4b71e41f448afac9 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 14 Dec 2025 15:07:21 +0100 Subject: [PATCH] [ruby/prism] Fix docs of opening_loc/closing_loc of BlockNode https://github.com/ruby/prism/commit/0b22d9060a --- prism/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prism/config.yml b/prism/config.yml index 5e29d6fa18..4e5b077a35 100644 --- a/prism/config.yml +++ b/prism/config.yml @@ -1269,17 +1269,17 @@ nodes: - name: opening_loc type: location comment: | - Represents the location of the opening `|`. + Represents the location of the opening `{` or `do`. [1, 2, 3].each { |i| puts x } - ^ + ^ - name: closing_loc type: location comment: | - Represents the location of the closing `|`. + Represents the location of the closing `}` or `end`. [1, 2, 3].each { |i| puts x } - ^ + ^ comment: | Represents a block of ruby code.