Skip to content

Commit b54c020

Browse files
authored
Merge pull request #3156 from kddnewton/patch-1
There was an extra parameter in the Prism API in the release notes.
2 parents 2adf500 + c9c9e4f commit b54c020

10 files changed

+10
-10
lines changed

en/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 a
1919
* Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code
2020
* Notable methods in the Prism API are:
2121
* `Prism.parse(source)` which returns the AST as part of a ParseResult
22-
* `Prism.dump(source, filepath)` which returns the serialized AST as a String
22+
* `Prism.dump(source)` which returns the serialized AST as a String
2323
* `Prism.parse_comments(source)` which returns the comments
2424
* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing
2525

en/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ After the release of RC1, we will avoid introducing ABI incompatibilities wherev
2121
* Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code
2222
* Notable methods in the Prism API are:
2323
* `Prism.parse(source)` which returns the AST as part of a ParseResult
24-
* `Prism.dump(source, filepath)` which returns the serialized AST as a String
24+
* `Prism.dump(source)` which returns the serialized AST as a String
2525
* `Prism.parse_comments(source)` which returns the comments
2626
* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing
2727

ja/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい
1919
* Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code
2020
* Notable methods in the Prism API are:
2121
* `Prism.parse(source)` which returns the AST as part of a ParseResult
22-
* `Prism.dump(source, filepath)` which returns the serialized AST as a String
22+
* `Prism.dump(source)` which returns the serialized AST as a String
2323
* `Prism.parse_comments(source)` which returns the comments
2424
* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing
2525

ja/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Ruby {{ release.version }} が公開されました。Ruby 3.3ではPrismとい
2121
* Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code
2222
* Notable methods in the Prism API are:
2323
* `Prism.parse(source)` which returns the AST as part of a ParseResult
24-
* `Prism.dump(source, filepath)` which returns the serialized AST as a String
24+
* `Prism.dump(source)` which returns the serialized AST as a String
2525
* `Prism.parse_comments(source)` which returns the comments
2626
* You can make pull requests or issues directly on [the Prism repository](https://github.com/ruby/prism) if you are interested in contributing
2727

ko/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3
1919
* Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다.
2020
* Prism API에서 주목할 만한 메서드는 다음과 같습니다.
2121
* `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다.
22-
* `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다.
22+
* `Prism.dump(source)`는 문자열로 직렬화된 AST를 반환합니다.
2323
* `Prism.parse_comments(source)`는 주석을 반환합니다.
2424
* 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다.
2525

ko/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RC1 릴리스 이후로 ABI의 하위호환성을 깨트리는 변경은 가급
2121
* Prism은 CRuby에서 내부적으로 사용하는 C 라이브러리이자 Ruby 코드를 구문 분석해야 하는 모든 도구에서 사용할 수 있는 Ruby gem입니다.
2222
* Prism API에서 주목할 만한 메서드는 다음과 같습니다.
2323
* `Prism.parse(source)`는 ParseResult의 일부로 AST를 반환합니다.
24-
* `Prism.dump(source, filepath)`는 문자열로 직렬화된 AST를 반환합니다.
24+
* `Prism.dump(source)`는 문자열로 직렬화된 AST를 반환합니다.
2525
* `Prism.parse_comments(source)`는 주석을 반환합니다.
2626
* 기여에 관심이 있다면 [Prism 저장소](https://github.com/ruby/prism)에서 직접 풀 리퀘스트나 이슈를 만들 수 있습니다.
2727

zh_cn/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增
2020
* Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem
2121
* Prism API 中值得注意的方法有:
2222
* `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分
23-
* `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回
23+
* `Prism.dump(source)` 将序列化的 AST 以字符串形式返回
2424
* `Prism.parse_comments(source)` 返回注释
2525
* 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题
2626

zh_cn/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Ruby 3.3 新增了 Prism 解析器,使用 Lrama 作为解析生成器,新增
2222
* Prism 既是 CRuby 内部使用的 C 库,也是任何需要解析 Ruby 代码的工具可以使用的 Ruby gem
2323
* Prism API 中值得注意的方法有:
2424
* `Prism.parse(source)` 返回 AST 作为 ParseResult 的一部分
25-
* `Prism.dump(source, filepath)` 将序列化的 AST 以字符串形式返回
25+
* `Prism.dump(source)` 将序列化的 AST 以字符串形式返回
2626
* `Prism.parse_comments(source)` 返回注释
2727
* 如果您有兴趣贡献,可以直接在 [Prism 代码库](https://github.com/ruby/prism) 上提出拉取请求或报告问题
2828

zh_tw/news/_posts/2023-11-12-ruby-3-3-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lang: zh_tw
1919
* Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。
2020
* Prism API 中值得注意的方法為:
2121
* `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。
22-
* `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。
22+
* `Prism.dump(source)` 回傳字串型別的序列化的 AST。
2323
* `Prism.parse_comments(source)` 回傳註解。
2424
* 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。
2525

zh_tw/news/_posts/2023-12-11-ruby-3-3-0-rc1-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RC1 版本發布後,我們會盡可能避免加入 ABI 不相容的功能。
2121
* Prism 是 CRuby 內部使用的 C 函式庫,同時也是任何需要解析 Ruby 程式碼的工具鏈可以使用的 Ruby gem。
2222
* Prism API 中值得注意的方法為:
2323
* `Prism.parse(source)` 回傳 AST 作為 ParseResult 的一部分。
24-
* `Prism.dump(source, filepath)` 回傳字串型別的序列化的 AST。
24+
* `Prism.dump(source)` 回傳字串型別的序列化的 AST。
2525
* `Prism.parse_comments(source)` 回傳註解。
2626
* 如果您有興趣貢獻,您可以直接在 [the Prism repository](https://github.com/ruby/prism) 上建立 pull requests 或 issues。
2727

0 commit comments

Comments
 (0)