lib/vernacular/regex_modifier.rb in vernacular-0.1.2 vs lib/vernacular/regex_modifier.rb in vernacular-1.0.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Vernacular
# Represents a modification to Ruby source that should be injected into the
# require process that modifies the source via a regex pattern.
class RegexModifier
attr_reader :pattern, :replacement, :block