module HTMLBuilder

Public Instance Methods

to_doc() click to toggle source
# File lib/hlt-site_builder.rb, line 18
def to_doc()
  buffer = self.to_html  
  Rexle.new(buffer)  
end
to_html() click to toggle source
# File lib/hlt-site_builder.rb, line 14
def to_html()
  Hlt.new(self.gsub(/^(?=[^\n])/,'  ').sub(/^\s{2}/,'')).to_html
end