Module: Command::Results
- Defined in:
- lib/command-set/results.rb,
lib/command-set/result-list.rb,
lib/command-set/formatter/xml.rb,
lib/command-set/formatter/base.rb,
lib/command-set/formatter/strategy.rb
Overview
This is the output management module for CommandSet. With an eye towards being a general purpose UI library, and motivated by the need to manage pretty serious output management, the Results module provides a reasonably sophisticated output train that runs like this:
- An OutputStandin intercepts normal output and feeds it to ...
- A Collector aggregates output from OutputStandins and explicit #item and #list calls and feeds to to ...
- A Presenter handles the stream of output from Collector objects and
emits
sawandclosedevents to one or more ... - Formatter objects, which interpret those events into user-readable output.
Defined Under Namespace
Classes: Collector, Formatter, List, ListEnd, ListItem, ListIterator, Presenter, StrategyFormatter, TextFormatter, XMLFormatter