Sha256: ad0df2102e2b5c6ef95a3be0b482c30c65d15a19da1e668dddf7da94caf03210
Contents?: true
Size: 255 Bytes
Versions: 29
Compression:
Stored size: 255 Bytes
Contents
class Pyk::Url # Standardize how web URLs are presented # Pyk::Url.clean(link) def self.clean(link) link = link.gsub("http://", "") link = link.gsub("https://", "") link = link.gsub("www.", "") return "http://#{link}" end end
Version data entries
29 entries across 29 versions & 1 rubygems