Class: IO

Inherits:
Object
  • Object
show all
Defined in:
sig/shims/env.rbs

Class Method Summary collapse

Class Method Details

.popen ⇒ void .popen ⇒ void

IO.popen([env_hash, cmd, *args]) — the env-hash-inside-the-array form the boot probe uses; rbs core only types env as a separate leading argument.

Overloads:

  • .popen ⇒ void

    This method returns an undefined value.

  • .popen ⇒ void

    This method returns an undefined value.



17
18
# File 'sig/shims/env.rbs', line 17

def self.popen: [X] (Array[Hash[String, String?] | String] env_and_cmd, ?String mode) { (instance) -> X } -> X
| ...