Module: TTY

Extended by:
ClassMethods
Defined in:
lib/tty.rb,
lib/tty/text.rb,
lib/tty/shell.rb,
lib/tty/table.rb,
lib/tty/logger.rb,
lib/tty/system.rb,
lib/tty/vector.rb,
lib/tty/plugins.rb,
lib/tty/version.rb,
lib/tty/terminal.rb,
lib/tty/table/row.rb,
lib/tty/conversion.rb,
lib/tty/table/error.rb,
lib/tty/table/field.rb,
lib/tty/shell/reader.rb,
lib/tty/system/which.rb,
lib/tty/table/border.rb,
lib/tty/table/header.rb,
lib/tty/table/padder.rb,
lib/tty/support/utils.rb,
lib/tty/system/editor.rb,
lib/tty/table/columns.rb,
lib/tty/terminal/echo.rb,
lib/tty/terminal/home.rb,
lib/tty/text/distance.rb,
lib/tty/text/wrapping.rb,
lib/tty/plugins/plugin.rb,
lib/tty/shell/question.rb,
lib/tty/shell/response.rb,
lib/tty/table/renderer.rb,
lib/tty/terminal/pager.rb,
lib/tty/shell/statement.rb,
lib/tty/support/unicode.rb,
lib/tty/text/truncation.rb,
lib/tty/shell/suggestion.rb,
lib/tty/support/coercion.rb,
lib/tty/table/border_dsl.rb,
lib/tty/table/column_set.rb,
lib/tty/table/operations.rb,
lib/tty/table/border/null.rb,
lib/tty/table/indentation.rb,
lib/tty/table/orientation.rb,
lib/tty/table/validatable.rb,
lib/tty/table/border/ascii.rb,
lib/tty/support/delegatable.rb,
lib/tty/table/border/unicode.rb,
lib/tty/table/border_options.rb,
lib/tty/table/renderer/ascii.rb,
lib/tty/table/renderer/basic.rb,
lib/tty/table/renderer/color.rb,
lib/tty/table/transformation.rb,
lib/tty/terminal/pager/basic.rb,
lib/tty/table/border/row_line.rb,
lib/tty/terminal/pager/system.rb,
lib/tty/table/operation/escape.rb,
lib/tty/table/operation/filter.rb,
lib/tty/table/renderer/unicode.rb,
lib/tty/shell/question/modifier.rb,
lib/tty/table/operation/padding.rb,
lib/tty/table/operation/wrapped.rb,
lib/tty/shell/question/validation.rb,
lib/tty/shell/response_delegation.rb,
lib/tty/table/operation/alignment.rb,
lib/tty/conversion/converter/array.rb,
lib/tty/conversion/converter/float.rb,
lib/tty/conversion/converter/range.rb,
lib/tty/table/operation/truncation.rb,
lib/tty/table/orientation/vertical.rb,
lib/tty/conversion/converter/boolean.rb,
lib/tty/conversion/converter/integer.rb,
lib/tty/table/orientation/horizontal.rb,
lib/tty/table/operation/alignment_set.rb

Defined Under Namespace

Modules: ClassMethods, Coercion, Conversion, Delegatable, Unicode, Utils Classes: ArgumentRequired, ArgumentValidation, CommandInvocationError, InvalidArgument, InvalidOrientationError, Logger, NoImplementationError, Plugin, Plugins, ResizeError, Shell, System, Table, Terminal, Text, TypeError, UnknownAttributeError, ValidationCoercion, Vector

Constant Summary collapse

EMPTY_ARRAY =

An empty array used as a default value

Array.new.freeze
VERSION =
"0.1.1"

Class Method Summary collapse

Methods included from ClassMethods

plugins, shell, system, terminal

Class Method Details

.included(base) ⇒ Object



116
117
118
# File 'lib/tty.rb', line 116

def included(base)
  base.send :extend, ClassMethods
end