class TTY::Prompt::Test
def initialize(**options)
def initialize(**options) @input = StringIO.new @input.extend(StringIOExtensions) @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color, true) }) super(**options) end