class HTTP::URI

def https?

Returns:
  • (False) - otherwise
  • (True) - if URI is HTTPS
def https?
  HTTPS_SCHEME == scheme
end