Add snippet for # frozen_string_literal: true
See https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3 for a detailed description of the frozen_string_literal comment.
This commit is contained in:
parent
a9b920b478
commit
efab1575ed
@ -1,5 +1,7 @@
|
|||||||
snippet enc
|
snippet enc
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
snippet frozen
|
||||||
|
# frozen_string_literal: true
|
||||||
snippet #!
|
snippet #!
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# New Block
|
# New Block
|
||||||
|
Loading…
Reference in New Issue
Block a user