Answers for "ruby add frozen_string_literal automatically"

2

frozen string literal ruby

# frozen_string_literal: true
class Foo
  # ...
end
Posted by: Guest on November-02-2020
0

ruby frozen_string_literal

# frozen_string_literal: true
"".frozen?
=> true
(+"").frozen?
=> false
"".dup.frozen?
=> false
Posted by: Guest on November-17-2020

Code answers related to "ruby add frozen_string_literal automatically"

Browse Popular Code Answers by Language