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

返値が配列である場合の表記法 #6

Open
ykominami opened this issue May 25, 2018 · 0 comments
Open

返値が配列である場合の表記法 #6

ykominami opened this issue May 25, 2018 · 0 comments

Comments

@ykominami
Copy link
Contributor

balancer.rstのBalancer.controlメソッドの返値が配列である。

https://github.com/TECS-WG/tecs-docs/blob/master/docs/mruby-on-ev3rt%2Btecs/balancer.rst

他のメソッドの説明ではなかったので、どうするのがよいか。
現在は、以下の通りにした。

  • 返値の型:[Int] Rubyの公式のリファレンスマニュアルの表記に倣った
  • 返値の説明 0番目要素、1番目の要素の説明を0から始まる番号付きリスト(列挙リスト)で表記。Rubyの公式リファレンスでは特定の表記はない(返値については、型以外は、具体例を示ている)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant