enum

Tabular::Directive

Inherits Enum < Comparable < Value < Object

A bit map representing the different behaviors the shell can be instructed to have once completions have been provided.

Constants

None = 0

Indicates to let the shell perform its default behavior after completions have been provided.

Error = 1

Indicates an error occurred and completions should be ignored.

NoSpace = 2

Indicates that the shell should not add a space after the completion even if there is a single completion provided.

NoFile = 4

Indicates that the shell should not provide file completion even when no completion is provided.

FilterExt = 8

Indicates that the provided completions should be used as file extension filters.

FilterDir = 16

Indicates that only directory names should be provided in file completion.

KeepOrder = 32

Indicates that the shell should preserve the order in which the completions are provided

Relay = 64

Indicates that the shell should suggest—and/or provide completions for—executables from henceforth.

All = 127

Instance methods

error?

Returns true if this enum value contains Error

Source
filter_dir?

Returns true if this enum value contains FilterDir

Source
filter_ext?

Returns true if this enum value contains FilterExt

Source
keep_order?

Returns true if this enum value contains KeepOrder

Source
no_file?

Returns true if this enum value contains NoFile

Source
no_space?

Returns true if this enum value contains NoSpace

Source
none?

Returns true if this enum value contains None

Source
relay?

Returns true if this enum value contains Relay

Source
show

Returns the String representation that will be sent to the shell.

Source