class Addressable::URI
def authority
Experimental RBS support (using type sampling data from the type_fusion project).
def authority: () -> String?
This signature was generated using 243 samples from 4 applications.
-
(String)- The authority component.
def authority self.host && @authority ||= begin authority = String.new if self.userinfo != nil authority << "#{self.userinfo}@" end authority << self.host if self.port != nil authority << ":#{self.port}" end authority end end