Sha256: 076fc1befe9ffc226b89be3cadc9e98b6f225e6aa00e40aacb1fe213ffd39d0e
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 Bytes
Contents
# frozen_string_literal: true require 'forwardable' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ttytest2-0.8.3 | lib/ttytest.rb |
ttytest2-0.8.2 | lib/ttytest.rb |
ttytest2-0.8.1 | lib/ttytest.rb |