📜  ruby freeze_string_literal - Ruby 代码示例
📅  最后修改于: 2022-03-11 15:04:47.995000             🧑  作者: Mango
代码示例2
# frozen_string_literal: true
"".frozen?
=> true
(+"").frozen?
=> false
"".dup.frozen?
=> false