Sha256: c44003fb6573e0ecf1b73ea60cdaf6444acd43d47a7d4070e908f7b0fe6780c4
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) unless $LOAD_PATH.include?(File.dirname(__FILE__)) require 'domainatrix/domain_parser.rb' require 'domainatrix/url.rb' module Domainatrix VERSION = "0.0.2" def self.parse(url) @domain_parser ||= DomainParser.new("#{File.dirname(__FILE__)}/effective_tld_names.dat") Url.new(@domain_parser.parse(url)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
domainatrix-0.0.2 | lib/domainatrix.rb |