Tabular::Kind
Inherits Enum < Comparable < Value < Object
Specifiers that determine the functionality of a [Tablet][Tabular::Tablet].
Constants
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 methods
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]
runnable?
Returns true if the [Tablet][Tabular::Tablet] represented by the [Kind][Tabular::Kind] should hand control back to
the CLI when matched. Only [Command][Tabular::Kind::Command] is runnable.