Module: Domainatrix
- Defined in:
- lib/domainatrix.rb,
lib/domainatrix/url.rb,
lib/domainatrix/domain_parser.rb
Defined Under Namespace
Classes: DomainParser, Url
Constant Summary collapse
- VERSION =
"0.0.11"
- DOMAIN_PARSER =
DomainParser.new("#{File.dirname(__FILE__)}/effective_tld_names.dat")
Class Method Summary collapse
Class Method Details
.parse(url) ⇒ Object
11 12 13 |
# File 'lib/domainatrix.rb', line 11 def self.parse(url) Url.new(DOMAIN_PARSER.parse(url)) end |