lib/mailerlite/utils.rb in mailerlite-1.6.1 vs lib/mailerlite/utils.rb in mailerlite-1.7.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module MailerLite module Utils - BLANK_RE = /\A[[:space:]]*\z/ + BLANK_RE = /\A[[:space:]]*\z/.freeze class << self def underscore(string) string.gsub(/::/, '/') .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')