enum
Tabular::Directive
Overview
A bit map representing the different behaviors the shell can be instructed to have once completions have been provided.
Defined in:
tabular/enums.crEnum Members
-
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
-
All =
63
Instance Method Summary
-
#error?
Returns
true
if this enum value containsError
-
#filter_dir?
Returns
true
if this enum value containsFilterDir
-
#filter_ext?
Returns
true
if this enum value containsFilterExt
-
#keep_order?
Returns
true
if this enum value containsKeepOrder
-
#no_file?
Returns
true
if this enum value containsNoFile
-
#no_space?
Returns
true
if this enum value containsNoSpace
-
#none?
Returns
true
if this enum value containsNone
-
#show
Returns the
String
representation that will be sent to the shell.