Module: TTY

Extended by:
ClassMethods
Defined in:
lib/tty.rb,
lib/tty/shell.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/shell/reader.rb,
lib/tty/system/which.rb,
lib/tty/terminal/raw.rb,
lib/tty/support/utils.rb,
lib/tty/system/editor.rb,
lib/tty/terminal/echo.rb,
lib/tty/terminal/home.rb,
lib/tty/plugins/plugin.rb,
lib/tty/shell/distance.rb,
lib/tty/shell/question.rb,
lib/tty/shell/response.rb,
lib/tty/terminal/pager.rb,
lib/tty/shell/statement.rb,
lib/tty/support/unicode.rb,
lib/tty/shell/suggestion.rb,
lib/tty/support/coercion.rb,
lib/tty/support/delegatable.rb,
lib/tty/terminal/pager/basic.rb,
lib/tty/terminal/pager/system.rb,
lib/tty/shell/question/modifier.rb,
lib/tty/shell/question/validation.rb,
lib/tty/shell/response_delegation.rb

Defined Under Namespace

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

Constant Summary collapse

EMPTY_ARRAY =

An empty array used as a default value

Array.new.freeze
VERSION =
"0.1.3"

Class Method Summary collapse

Methods included from ClassMethods

plugins, shell, system, terminal

Class Method Details

.included(base) ⇒ Object



77
78
79
# File 'lib/tty.rb', line 77

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