エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Feature #14397: public, protected and private should return their arguments instead of self - Ruby master - Ruby Issue Tracking System
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Feature #14397: public, protected and private should return their arguments instead of self - Ruby master - Ruby Issue Tracking System
Matsuda-san suggested me that public, protected and private should return their arguments instead... Matsuda-san suggested me that public, protected and private should return their arguments instead of self, to write such code:` require "finalist" # see https://github.com/joker1007/finalist class Foo extend Finalist final private def foo end end I believe that it's reasonable request, and also believe that there is no product code which uses the return values of public, protected and private. Mat
2018/01/25 リンク