class Addressable::URI

def ip_based?

Experimental RBS support (using type sampling data from the type_fusion project).

def ip_based?: () -> untyped

This signature was generated using 3 samples from 1 application.

Returns:
  • (TrueClass, FalseClass) -
def ip_based?
  if self.scheme
    return URI.ip_based_schemes.include?(
      self.scheme.strip.downcase)
  end
  return false
end