Skip to content

Commit e3bc185

Browse files
kddnewtonmatzbot
authored andcommitted
[ruby/prism] Revert "Fix invalid Ruby code example in ClassNode comment"
ruby/prism@b960079559
1 parent 748dc9a commit e3bc185

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

prism/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@ nodes:
18601860
comment: |
18611861
Represents the location of the `class` keyword.
18621862
1863-
class Foo; end
1863+
class Foo end
18641864
^^^^^
18651865
- name: constant_path
18661866
type: node
@@ -1899,19 +1899,19 @@ nodes:
18991899
comment: |
19001900
Represents the location of the `end` keyword.
19011901
1902-
class Foo; end
1903-
^^^
1902+
class Foo end
1903+
^^^
19041904
- name: name
19051905
type: constant
19061906
comment: |
19071907
The name of the class.
19081908
1909-
class Foo; end # name `:Foo`
1909+
class Foo end # name `:Foo`
19101910
comment: |
19111911
Represents a class declaration involving the `class` keyword.
19121912
1913-
class Foo; end
1914-
^^^^^^^^^^^^^^
1913+
class Foo end
1914+
^^^^^^^^^^^^^
19151915
- name: ClassVariableAndWriteNode
19161916
fields:
19171917
- name: name

0 commit comments

Comments
 (0)