enum
Tabular::Kind
Overview
Specifiers that determine the functionality of a [Tablet][Tabular::Tablet].
Defined in:
tabular/enums.crEnum Members
-
Option =
1 -
Specifies that a [
Tablet][Tabular::Tablet] represents an [#option][Tabular::Habit#option] parameter. -
Argument =
2 -
Specifies that a [
Tablet][Tabular::Tablet] represents an [#argument][Tabular::Habit#argument] parameter. -
Command =
3 -
Specifies that a [
Tablet][Tabular::Tablet] represents an [#command][Tabular::Habit#command] parameter.
Instance Method Summary
-
#argument?
Returns
trueif this enum value equalsArgument -
#command?
Returns
trueif this enum value equalsCommand - #directives
-
#option?
Returns
trueif this enum value equalsOption - #runnable?
Instance Method Detail
def directives
#
Returns the default [Directive][Tabular::Directive] of the [Kind][Tabular::Kind].
- [
Argument][Tabular::Kind::Argument] — [None][Tabular::Directive::None] - All others — [
NoFile][Tabular::Directive::NoFile]