Class: Domainatrix::Url
- Inherits:
-
Object
- Object
- Domainatrix::Url
- Defined in:
- lib/nfcollector/domain_parser.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
3 4 5 |
# File 'lib/nfcollector/domain_parser.rb', line 3 def query @query end |
Instance Method Details
#toplevel ⇒ Object
5 6 7 |
# File 'lib/nfcollector/domain_parser.rb', line 5 def toplevel [ domain, public_suffix ].compact.join(".") end |