]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/common/domain.rb
1 require 'common/errors'
9 msg
= "domain cannot be empty"
10 raise InvalidDomainError
.new(msg
)
21 return self.to_s() == other
.to_s()
25 return self.to_s() <=> other
.to_s()