可能重复: Ruby中的|| =(或等于)是什么意思?
在谷歌搜索这个很难,因为它是一个符号,而不是文本.
什么||=代表什么?
||=
它是如何工作的?
ruby operators
operators ×1
ruby ×1