Method: CommandKit::Stdio#stdin

Defined in:
lib/command_kit/stdio.rb

#stdin$stdin, IO

Returns the stdin input stream.

Returns:

  • ($stdin, IO)

    The initialized @stdin value or $stdin.



55
56
57
# File 'lib/command_kit/stdio.rb', line 55

def stdin
  @stdin || $stdin
end