Sha256: d47a64eb370fcb1cd76f9d12abc64a15e11807f770b070f8f8cfd164d03159d6
Contents?: true
Size: 267 Bytes
Versions: 32
Compression:
Stored size: 267 Bytes
Contents
# Helper class to perform tasks on URI's class UriHelper # Returns an Addressable::URI with the fragment section removed def self.join_no_fragment(content, link) new_link = Addressable::URI.join(content, link) new_link.fragment=nil new_link end end
Version data entries
32 entries across 32 versions & 1 rubygems