🖥
Ruby | How is the surprise mark (!) Of the method name called?
It seems to be called bang.
-
!
= Van -
!!
= double van -
example!
= Bang method
People do not live in the van alone, but with every single word coming out of the mouth of God
reference
- http://stackoverflow.com/questions/612189/why-are-exclamation-marks-used-in-ruby-methods
- http://www.ne.jp/asahi/petros/izumi/1999msg/991003.htm
Original by
Ruby | メソッド名のビックリマーク ( ! ) はなんと呼ぶ?
About
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。
公開日時
2019-04-16
Discussion