lib/monkey_patches/string.rb in url_canonicalize-0.1.5 vs lib/monkey_patches/string.rb in url_canonicalize-0.1.9
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
# Patch for Ruby's String class
class String
def canonicalize
URLCanonicalize.canonicalize(self)
end