Sha256: afb18b43713ef1581adefde66adbb41ae6638da5724e696b9b4ee130a770f8d2

Contents?: true

Size: 131 Bytes

Versions: 3

Compression:

Stored size: 131 Bytes

Contents

module Fig; end

module Fig::URL
  def self.is_url?(url)
    not (/ftp:\/\/|https?:\/\/|file:\/\/|ssh:\/\// =~ url).nil?
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fig-0.1.77 lib/fig/url.rb
fig-0.1.76 lib/fig/url.rb
fig-0.1.75 lib/fig/url.rb