Sha256: 3ad7f184c363585ac9d180b522c4b5f02430870c73d78e5d53a12851a7c51c09

Contents?: true

Size: 144 Bytes

Versions: 3

Compression:

Stored size: 144 Bytes

Contents

# frozen_string_literal: true

# Patch for Ruby's String class
class String
  def canonicalize
    URLCanonicalize.canonicalize(self)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
url_canonicalize-1.0.0 lib/monkey_patches/string.rb
url_canonicalize-0.2.1 lib/monkey_patches/string.rb
url_canonicalize-0.2.0 lib/monkey_patches/string.rb