# File lib/addressable/uri.rb, line 999 def authority @authority ||= (begin if self.host.nil? nil else authority = "" if self.userinfo != nil authority << "#{self.userinfo}@" end authority << self.host if self.port != nil authority << ":#{self.port}" end authority end end) end