mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[ruby/prism] Fix docs of opening_loc/closing_loc of BlockNode
https://github.com/ruby/prism/commit/0b22d9060a
This commit is contained in:
parent
aa31754e56
commit
e85fd7c878
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user