diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2025-11-29 15:51:06 -0500 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-29 21:00:53 +0000 |
| commit | e3bc1852b3a7bcacf3e18d1644fbea7839abe019 (patch) | |
| tree | 03068d1c3bbd2649991b91b8e7555792f42f15bc | |
| parent | 748dc9ac8d68b7979936f171179c475c7f174953 (diff) | |
[ruby/prism] Revert "Fix invalid Ruby code example in ClassNode comment"
https://github.com/ruby/prism/commit/b960079559
| -rw-r--r-- | prism/config.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/prism/config.yml b/prism/config.yml index 36becff28d..5e29d6fa18 100644 --- a/prism/config.yml +++ b/prism/config.yml @@ -1860,7 +1860,7 @@ nodes: comment: | Represents the location of the `class` keyword. - class Foo; end + class Foo end ^^^^^ - name: constant_path type: node @@ -1899,19 +1899,19 @@ nodes: comment: | Represents the location of the `end` keyword. - class Foo; end - ^^^ + class Foo end + ^^^ - name: name type: constant comment: | The name of the class. - class Foo; end # name `:Foo` + class Foo end # name `:Foo` comment: | Represents a class declaration involving the `class` keyword. - class Foo; end - ^^^^^^^^^^^^^^ + class Foo end + ^^^^^^^^^^^^^ - name: ClassVariableAndWriteNode fields: - name: name |
