class PrettyDoc::Converter

Common Converter Class that will be inherited

Attributes

content[RW]
options[RW]

Public Class Methods

descendants() click to toggle source

load all descendants

# File lib/pretty_doc/converter.rb, line 15
def self.descendants
  ObjectSpace.each_object(Class).select { |klass| klass < self }
end
perfer_exts() click to toggle source
# File lib/pretty_doc/converter.rb, line 10
def self.perfer_exts
  []
end

Public Instance Methods

as_html() click to toggle source
# File lib/pretty_doc/converter.rb, line 6
def as_html
  convert
end

Private Instance Methods

convert() click to toggle source

Convert Markdown to Html, implement this method to convert content

# File lib/pretty_doc/converter.rb, line 22
def convert
end