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

「Rubyで使われる記号の意味」の誤りを修正 #2122

Merged
merged 2 commits into from Jan 30, 2020

Conversation

@scivola
Copy link
Contributor

scivola commented Jan 30, 2020

以下の二点を修正しました。

  • || はメソッドじゃないのに「「or」演算子または類似のメソッド。」となっていた。
  • 数値に対する単項演算子 + は,べつに正の数を表すわけではないのに「正の数を表す、単項演算子+。 」となっていた。

後者については,例えば + -1 とか +1i とかは正の数じゃないのに,という意味です。
Numeric#+@self を返すだけのメソッド。

ついでに,行末のスペースを削除しました。

「記号の意味」については改善の余地がいろいろありますが,この PR ではとりあえず誤りについてだけ。

Copy link
Member

hanachin left a comment

ありがとうございます! よさそう。

@hanachin hanachin merged commit dbee87a into rurema:master Jan 30, 2020
8 checks passed
8 checks passed
rake
Details
misspell
Details
Pages changed 4 new files uploaded
Details
Redirect rules No redirect rules processed
Details
Header rules 1 header rule processed
Details
Mixed content No mixed content detected
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details
@scivola scivola deleted the scivola:fix-symref branch Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.