Skip to content

Commit f7d3632

Browse files
committed
Translate "Ruby 3.4.0-preview1 Released" (ko)
1 parent 56c7304 commit f7d3632

File tree

1 file changed

+51
-50
lines changed

1 file changed

+51
-50
lines changed

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

Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,57 @@
11
---
22
layout: news_post
3-
title: "Ruby 3.4.0 preview1 Released"
3+
title: "Ruby 3.4.0-preview1 릴리스"
44
author: "naruse"
5-
translator:
5+
translator: "shia"
66
date: 2024-05-16 00:00:00 +0000
7-
lang: en
7+
lang: ko
88
---
99

1010
{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %}
11-
We are pleased to announce the release of Ruby {{ release.version }}.
11+
Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다.
1212

13-
## Language changes
13+
## 언어 변경
1414

15-
* String literals in files without a `frozen_string_literal` comment now behave
16-
as if they were frozen. If they are mutated a deprecation warning is emitted.
17-
These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`.
18-
To disable this change, you can run Ruby with the `--disable-frozen-string-literal`
19-
command line argument. [[Feature #20205]]
15+
* 파일에 `frozen_string_literal` 코멘트가 없다면, 리터럴 문자열은 이제 얼린 것처럼
16+
동작합니다. 해당 문자열이 변경되는 경우에도 폐기 예정 경고는 생략됩니다.
17+
이 경고는 `-W:deprecated``Warning[:deprecated] = true` 설정을 통해 출력할 수 있습니다.
18+
이 변경을 무효화하고 싶다면 Ruby를 실행할 때 `--disable-frozen-string-literal` 커맨드라인 인수를
19+
사용하세요. [[Feature #20205]]
2020

21-
* `it` is added to reference a block parameter. [[Feature #18980]]
21+
* 블록 인자를 가리키는 `it`이 추가됩니다. [[Feature #18980]]
2222

23-
* Keyword splatting `nil` when calling methods is now supported.
24-
`**nil` is treated similarly to `**{}`, passing no keywords,
25-
and not calling any conversion methods. [[Bug #20064]]
23+
* 메서드 호출시에 `nil`에 키워드 스플랫을 지원합니다.
24+
`**nil``**{}`와 비슷하게 동작하며, 키워드를 넘기지 않으며,
25+
어떤 변환 메서드도 호출하지 않습니다. [[Bug #20064]]
2626

27-
* Block passing is no longer allowed in index. [[Bug #19918]]
27+
* 블록을 인덱스로 사용할 수 없게 됩니다. [[Bug #19918]]
2828

29-
* Keyword arguments are no longer allowed in index. [[Bug #20218]]
29+
* 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[Bug #20218]]
3030

31-
## Core classes updates
31+
## 코어 클래스 변경
3232

33-
Note: We're only listing outstanding class updates.
33+
주의: 눈에 띄는 클래스 변경만을 포함합니다.
3434

3535
* Exception
3636

37-
* Exception#set_backtrace now accepts arrays of `Thread::Backtrace::Location`.
38-
`Kernel#raise`, `Thread#raise` and `Fiber#raise` also accept this new format. [[Feature #13557]]
37+
* Exception#set_backtrace는 이제 `Thread::Backtrace::Location`의 배열을 입력으로 받을 수 있습니다.
38+
`Kernel#raise`, `Thread#raise``Fiber#raise`도 같은 형식의 입력을 받습니다. [[Feature #13557]]
39+
3940

4041
* Range
4142

42-
* Range#size now raises TypeError if the range is not iterable. [[Misc #18984]]
43+
* Range#size는 이제 범위가 열거 가능하지 않다면 TypeError를 던집니다. [[Misc #18984]]
4344

4445

4546

46-
## Compatibility issues
47+
## 호환성 문제
4748

48-
Note: Excluding feature bug fixes.
49+
주의: 기능 버그 수정은 포함되어 있지 않습니다.
4950

50-
* Error messages and backtrace displays have been changed.
51-
* Use a single quote instead of a backtick as a opening quote. [[Feature #16495]]
52-
* Display a class name before a method name (only when the class has a permanent name). [[Feature #19117]]
53-
* `Kernel#caller`, `Thread::Backtrace::Location`'s methods, etc. are also changed accordingly.
51+
* 에러 메시지와 백트레이스의 출력 결과가 변경됩니다.
52+
* 인용 시작 부분을 나타내던 백틱 대신 작은 따옴표를 사용합니다. [[Feature #16495]]
53+
* 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있다면). [[Feature #19117]]
54+
* `Kernel#caller`, `Thread::Backtrace::Location`의 메서드들도 마찬가지로 변경됩니다.
5455
```
5556
Old:
5657
test.rb:1:in `foo': undefined method `time' for an instance of Integer
@@ -62,38 +63,38 @@ Note: Excluding feature bug fixes.
6263
```
6364

6465

65-
## C API updates
66+
## C API 변경
6667

67-
* `rb_newobj` and `rb_newobj_of` (and corresponding macros `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`) have been removed. [[Feature #20265]]
68-
* Removed deprecated function `rb_gc_force_recycle`. [[Feature #18290]]
68+
* `rb_newobj``rb_newobj_of`(그리고 대응하는 매크로인 `RB_NEWOBJ`, `RB_NEWOBJ_OF`, `NEWOBJ`, `NEWOBJ_OF`)가 삭제됩니다. [[Feature #20265]]
69+
* 폐기 예정인 `rb_gc_force_recycle` 함수가 삭제됩니다. [[Feature #18290]]
6970

70-
## Implementation improvements
71+
## 구현 개선
7172

72-
* `Array#each` is rewritten in Ruby for better performance [[Feature #20182]].
73+
* `Array#each`를 더 나은 성능을 위해 Ruby로 재작성했습니다. [[Feature #20182]]
7374

74-
## Miscellaneous changes
75+
## 그 이외의 변경
7576

76-
* Passing a block to a method which doesn't use the passed block will show
77-
a warning on verbose mode (`-w`).
77+
* 상세 모드(`-w`)에서 메서드에 넘긴 블록이 사용되지 않았을 때
78+
경고를 출력합니다.
7879
[[Feature #15554]]
7980

80-
* Redefining some core methods that are specially optimized by the interpeter
81-
and JIT like `String.freeze` or `Integer#+` now emits a performance class
82-
warning (`-W:performance` or `Warning[:performance] = true`).
81+
* `String.freeze``Integer#+`처럼 인터프리터와 JIT이 특별히 최적화하는
82+
몇몇 코어 메서드를 재정의하면 성능 클래스 경고
83+
(`-W:performance``Warning[:performance] = true`)를 출력합니다.
8384
[[Feature #20429]]
8485

85-
See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or
86-
changelog for details of the default gems or bundled gems.
86+
기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은
87+
GitHub 릴리스 또는 변경 로그에서 확인하세요.
8788

88-
See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
89-
or [commit logs](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})
90-
for more details.
89+
더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
90+
[커밋 로그](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})
91+
확인해 주세요.
9192

92-
With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)
93-
since Ruby 3.3.0!
93+
이러한 변경사항에 따라, Ruby 3.3.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)
94+
이루어졌습니다!
9495

9596

96-
## Download
97+
## 다운로드
9798

9899
* <{{ release.url.gz }}>
99100

@@ -116,11 +117,11 @@ since Ruby 3.3.0!
116117
SHA256: {{ release.sha256.zip }}
117118
SHA512: {{ release.sha512.zip }}
118119

119-
## What is Ruby
120+
## Ruby는
120121

121-
Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993,
122-
and is now developed as Open Source. It runs on multiple platforms
123-
and is used all over the world especially for web development.
122+
Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고,
123+
현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며,
124+
특히 웹 개발에서 전 세계적으로 이용되고 있습니다.
124125

125126
[Feature #13557]: https://bugs.ruby-lang.org/issues/13557
126127
[Feature #15554]: https://bugs.ruby-lang.org/issues/15554

0 commit comments

Comments
 (0)