Method: TTY::Shell#initialize
- Defined in:
- lib/tty/shell.rb
#initialize(input = stdin, output = stdout, options = {}) ⇒ Shell
Initialize a Shell
20 21 22 23 24 |
# File 'lib/tty/shell.rb', line 20 def initialize(input = stdin, output = stdout, = {}) @input = input @output = output @prefix = .fetch(:prefix) { '' } end |