Class: Formatter

Inherits:
CompositeProcessor show all
Defined in:
lib/notroff/formatter.rb

Instance Method Summary collapse

Methods inherited from CompositeProcessor

#add_processor, #dump, #prepend_processor, #process

Constructor Details

#initializeFormatter

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