Sha256: 19337a649a2432b4d57bb8679695471f7c8593e72e3428aa5664da2356832f48
Contents?: true
Size: 235 Bytes
Versions: 8
Compression:
Stored size: 235 Bytes
Contents
# frozen_string_literal: true module Gupshup module REST def url_join(left, right) left = left.sub(/\/+$/, '').sub(/^\/+/, '') right = right.sub(/\/+$/, '').sub(/^\/+/, '') "#{left}/#{right}" end end end
Version data entries
8 entries across 8 versions & 1 rubygems