Sha256: 990651041c56664f54db9daee870c008b6d7e6b9c9cd0aced8cb8399711423ac
Contents?: true
Size: 807 Bytes
Versions: 15
Compression:
Stored size: 807 Bytes
Contents
# frozen_string_literal: true require 'forwardable' require 'ttytest/constants' require 'ttytest/tmux/driver' require 'ttytest/tmux/session' # ttytest2 main module module TTYtest class << self attr_accessor :driver, :default_max_wait_time extend Forwardable # @!method new_terminal(command, width: 80, height: 24) # Create a new terminal through the current driver. # @param [String] command a valid shell command to run # @param [Integer] width width of the new terminal # @param [Integer] height height of the new terminal # @return [Terminal] a new terminal running the specified command def_delegators :driver, :new_terminal end class MatchError < StandardError; end self.driver = TTYtest::Tmux::Driver.new self.default_max_wait_time = 2 end
Version data entries
15 entries across 15 versions & 1 rubygems