class HTTP::URI
def http?
-
(False)
- otherwise -
(True)
- if URI is HTTP
def http? HTTP_SCHEME == scheme end
def https?
-
(False)
- otherwise -
(True)
- if URI is HTTPS
def https? HTTPS_SCHEME == scheme end
def inspect
-
(String)
- human-readable representation of URI
def inspect format("#<%s:%#0x URI:%s>", self.class, object_id, to_s) end