Class: Tuxedo::Formatters::BaseTextFormatter

Inherits:
BaseFormatter show all
Includes:
Tty
Defined in:
lib/tuxedo/formatters/base_text_formatter.rb

Direct Known Subclasses

CaneTextFormatter

Instance Attribute Summary

Attributes inherited from BaseFormatter

#output

Instance Method Summary collapse

Methods included from Tty

#capture_stderr, #capture_stdout, color_enabled?, def_color, #escape, #terminal_size, #terminal_size_available?, #with_color

Methods inherited from BaseFormatter

#format, #initialize

Constructor Details

This class inherits a constructor from Tuxedo::Formatters::BaseFormatter

Instance Method Details

#message(message) ⇒ Object



8
9
10
# File 'lib/tuxedo/formatters/base_text_formatter.rb', line 8

def message(message)
  output.puts message
end