Class: Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/notroff/processor.rb

Instance Method Summary collapse

Instance Method Details

#process(paragraphs) ⇒ Object



23
24
25
# File 'lib/notroff/processor.rb', line 23

def process( paragraphs )
  paragraphs.each {|p| puts "#{p.type}: #{p.text}"}
end