Module: TPTree::Formatter
- Included in:
- TreeNode
- Defined in:
- lib/tp_tree/formatter.rb
Overview
Formatter provides methods for colorizing and formatting output. This module acts as a compatibility layer for the old Formatter module.
Defined Under Namespace
Modules: FormatterMethods
Constant Summary collapse
- DEPTH_COLORS =
Expose constants for backward compatibility
Formatters::BaseFormatter::DEPTH_COLORS
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 |
# File 'lib/tp_tree/formatter.rb', line 9 def self.included(base) base.extend(FormatterMethods) base.include(FormatterMethods) end |