Class: Psychgus::Stylers::HierarchyStyler

Inherits:
Object
  • Object
show all
Includes:
Psychgus::Stylables::HierarchyStylable
Defined in:
lib/psychgus/stylers.rb

Overview

A visual hierarchy writer of the levels.

This is useful for determining the correct level/position when writing a Psychgus::Styler.

The default IO is StringIO, but can specify a different one.

See Psychgus.hierarchy for more details.

Constant Summary

Constants included from Psychgus::Styler

Psychgus::Styler::EMPTY

Instance Attribute Summary

Attributes included from Psychgus::Stylables::HierarchyStylable

#io, #verbose

Method Summary

Methods included from Psychgus::Stylables::HierarchyStylable

#initialize, #style, #to_s

Methods included from Psychgus::Styler

#style, #style_alias, #style_document, #style_mapping, #style_scalar, #style_sequence, #style_stream