Class: RDocF95::Markup::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc-f95/markup/formatter.rb

Direct Known Subclasses

ToFlow, ToHtml, ToLaTeX, ToTest

Instance Method Summary collapse

Constructor Details

#initializeFormatter

Returns a new instance of Formatter.



5
6
7
# File 'lib/rdoc-f95/markup/formatter.rb', line 5

def initialize
  @markup = RDocF95::Markup.new
end

Instance Method Details

#convert(content, block_exceptions = nil) ⇒ Object



9
10
11
# File 'lib/rdoc-f95/markup/formatter.rb', line 9

def convert(content, block_exceptions=nil)
  @markup.convert content, self, block_exceptions
end