lib/pragmater/formatters/shebang.rb in pragmater-8.3.0 vs lib/pragmater/formatters/shebang.rb in pragmater-9.0.0
- old
+ new
@@ -2,10 +2,10 @@
module Pragmater
module Formatters
# Formats shebang pragmas in a consistent manner.
class Shebang
- PATTERN = %r(\A\#!\s?/.*ruby\Z).freeze
+ PATTERN = %r(\A\#!\s?/.*ruby\Z)
def initialize string, pattern: PATTERN
@string = string
@pattern = pattern
end