Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Complex#<=> since Ruby 2.7 #2263

Merged
merged 2 commits into from
Jun 9, 2020
Merged

Add Complex#<=> since Ruby 2.7 #2263

merged 2 commits into from
Jun 9, 2020

Conversation

pocke
Copy link
Member

@pocke pocke commented May 22, 2020

#2071

Ruby 2.7 で追加された Compelx#<=> のドキュメントを追加しています。

RDoc: https://docs.ruby-lang.org/en/2.7.0/Complex.html#method-i-3C-3D-3E
チケット: https://bugs.ruby-lang.org/issues/15857

なお <=> メソッドの戻り値は #2183 に沿って書いています。

サンプルコードはRDocのものを使っています。

znz
znz previously approved these changes Jun 2, 2020
@znz znz dismissed their stale review June 2, 2020 10:54

Found typo

Co-authored-by: Kazuhiro NISHIYAMA <[email protected]>
@znz znz merged commit fd05c11 into rurema:master Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants