lib/it/parser.rb in it-1.0.0 vs lib/it/parser.rb in it-2.0.0

- old
+ new

@@ -1,10 +1,10 @@ module It # Parses the string and replaces all interpolations accordingly. class Parser attr_reader :string, :options - INTERPOLATION_REGEXP = /%\{[^{}]+\}/ + INTERPOLATION_REGEXP = /%\{[^{}]+\}/.freeze def self.backend_options(options) options.with_indifferent_access.slice(:default, :locale, :scope) end