Class: Toys::Utils::CompletionEngine::Bash

Inherits:
Base
  • Object
show all
Defined in:
lib/toys/utils/completion_engine.rb

Overview

A completion engine for bash.

Instance Method Summary collapse

Methods inherited from Base

#run

Constructor Details

#initialize(cli) ⇒ Bash

Create a bash completion engine.

Parameters:



101
102
103
104
# File 'lib/toys/utils/completion_engine.rb', line 101

def initialize(cli)
  require "shellwords"
  super
end