Class: URI::Generic

Inherits:
Object
  • Object
show all
Defined in:
sig/patches/open-uri.rbs

Instance Method Summary collapse

Instance Method Details

#open(mode) ⇒ StringIO & OpenURI::Meta #openvoid

Overloads:

  • #open(mode) ⇒ StringIO & OpenURI::Meta

    Parameters:

    • mode (String)

    Returns:

    • (StringIO & OpenURI::Meta)
  • #openvoid

    This method returns an undefined value.



7
8
# File 'sig/patches/open-uri.rbs', line 7

def open: (?String mode) -> (StringIO & OpenURI::Meta)
| [T] (?String mode) { (StringIO | Tempfile) -> T } -> T