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