Sha256: 53aa516e89351b3dd686baba4a43ca30278b291f752f02b426b80fdc31078ba5

Contents?: true

Size: 354 Bytes

Versions: 9

Compression:

Stored size: 354 Bytes

Contents

require 'rdoc/markup'

##
# Base class for RDoc markup formatters
#
# Formatters use a visitor pattern to convert content into output.

class RDoc::Markup::Formatter

  ##
  # Creates a new Formatter

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

  ##
  # Marks up +content+

  def convert(content)
    @markup.convert content, self
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
voloko-sdoc-0.1.3 rdoc/lib/rdoc/markup/formatter.rb
voloko-sdoc-0.1.4 rdoc/lib/rdoc/markup/formatter.rb
voloko-sdoc-0.1.5 rdoc/lib/rdoc/markup/formatter.rb
voloko-sdoc-0.1.6 rdoc/lib/rdoc/markup/formatter.rb
voloko-sdoc-0.1.7 rdoc/lib/rdoc/markup/formatter.rb
rdoc-2.4.0 lib/rdoc/markup/formatter.rb
rdoc-2.4.1 lib/rdoc/markup/formatter.rb
rdoc-2.4.2 lib/rdoc/markup/formatter.rb
rdoc-2.4.3 lib/rdoc/markup/formatter.rb