Method: Clin::Shell#initialize

Defined in:
lib/clin/shell.rb

#initialize(input: STDIN, output: STDOUT) ⇒ Shell

Returns a new instance of Shell.



15
16
17
18
19
20
21
# File 'lib/clin/shell.rb', line 15

def initialize(input: STDIN, output: STDOUT)
  @in = input
  @out = output
  @yes_or_no_persist = false
  @override_persist = false
  @text = Clin::Text.new
end