Sha256: e57f9f04b8cb366a532ff047100950cdc6708bb42b3a0a6d3334c51d4696172a
Contents?: true
Size: 387 Bytes
Versions: 3
Compression:
Stored size: 387 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) unless $LOAD_PATH.include?(File.dirname(__FILE__)) require 'addressable/uri' require 'domainatrix/domain_parser.rb' require 'domainatrix/url.rb' module Domainatrix VERSION = "0.0.9" DOMAIN_PARSER = DomainParser.new("#{File.dirname(__FILE__)}/effective_tld_names.dat") def self.parse(url) Url.new(DOMAIN_PARSER.parse(url)) end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
domainatrix-0.0.11 | lib/domainatrix.rb |
f1sherman-domainatrix-0.0.10 | lib/domainatrix.rb |
domainatrix-0.0.9 | lib/domainatrix.rb |