エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc. - Ruby master - Ruby Issue Tracking System
記事へのコメント2件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc. - Ruby master - Ruby Issue Tracking System
You could make the same argument against String. Why would you use that over #to_s? I can't think... You could make the same argument against String. Why would you use that over #to_s? I can't think of any use cases for that :) To me, it's really about API consistency. I don't believe you would actually use it frequently, but including it is following the principle of least surprise. Fwiw. I discovered Symbol did not exist by writing some code to call it, expecting it (since there is String, Arra
2012/07/07 リンク