Skip to content

Commit 271361d

Browse files
committed
Fix quotes of <main>
This changed since 3.4.0-preview1. ``` % docker run --platform linux/amd64 --rm -it ghcr.io/ruby/all-ruby env LANG=C.UTF-8 ALL_RUBY_SINCE=ruby-3.3 ./all-ruby -e 'def foo; time; end; foo' ruby-3.3.0 -e:1:in `foo': undefined local variable or method `time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in `<main>' exit 1 ... ruby-3.3.4 -e:1:in `foo': undefined local variable or method `time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in `<main>' exit 1 ruby-3.4.0-preview1 -e:1:in 'Object#foo': undefined local variable or method 'time' for main (NameError) def foo; time; end; foo ^^^^ from -e:1:in '<main>' exit 1 ```
1 parent 235860a commit 271361d

7 files changed

+7
-7
lines changed

en/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Note: Excluding feature bug fixes.
5959
6060
New:
6161
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
62-
from test.rb:2:in `<main>'
62+
from test.rb:2:in '<main>'
6363
```
6464

6565

en/news/_posts/2024-10-07-ruby-3-4-0-preview2-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Note: Excluding feature bug fixes.
6363
6464
New:
6565
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
66-
from test.rb:2:in `<main>'
66+
from test.rb:2:in '<main>'
6767
```
6868

6969
* `Hash#inspect` rendering has changed. [[Bug #20433]]

es/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Nota: Excluyendo correcciones a problemas en características.
7070
7171
Ahora:
7272
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
73-
from test.rb:2:in `<main>'
73+
from test.rb:2:in '<main>'
7474
```
7575

7676

ja/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Ruby {{ release.version }}がリリースされました。
5656
5757
New:
5858
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
59-
from test.rb:2:in `<main>'
59+
from test.rb:2:in '<main>'
6060
```
6161

6262

ko/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다.
6060
6161
New:
6262
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
63-
from test.rb:2:in `<main>'
63+
from test.rb:2:in '<main>'
6464
```
6565

6666

zh_cn/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ lang: zh_cn
5555
5656
现在:
5757
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
58-
from test.rb:2:in `<main>'
58+
from test.rb:2:in '<main>'
5959
```
6060

6161
## C API 更新

zh_tw/news/_posts/2024-05-16-ruby-3-4-0-preview1-released.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ lang: zh_tw
5454
5555
新:
5656
test.rb:1:in 'Object#foo': undefined method 'time' for an instance of Integer
57-
from test.rb:2:in `<main>'
57+
from test.rb:2:in '<main>'
5858
```
5959

6060

0 commit comments

Comments
 (0)