Class: Formatter
- Inherits:
-
CompositeProcessor
- Object
- CompositeProcessor
- Formatter
- Defined in:
- lib/notroff/formatter.rb
Direct Known Subclasses
DocbookFormatter, HtmlFormatter, OdtFormatter, SpecFormatter
Instance Method Summary collapse
-
#initialize ⇒ Formatter
constructor
A new instance of Formatter.
Methods inherited from CompositeProcessor
#add_processor, #dump, #prepend_processor, #process
Constructor Details
#initialize ⇒ Formatter
Returns a new instance of Formatter.
2 3 4 5 6 7 8 9 |
# File 'lib/notroff/formatter.rb', line 2 def initialize() super add_processor CommandProcessor.new add_processor TypeAssigner.new add_processor EmbeddedRubyProcessor.new add_processor CodeScrubber.new add_processor BodyParagraphJoiner.new end |