class TTY::TestPrompt
Used for initializing test cases
def initialize(options = {})
def initialize(options = {}) @input = StringIO.new @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color) { true } }) super(options) end