module RTFDoc::RenderAsSection
Public Class Methods
included(other)
click to toggle source
# File lib/rtfdoc.rb, line 180 def self.included(other) other.attr_accessor(:include_show_button) end
Public Instance Methods
content_to_html()
click to toggle source
# File lib/rtfdoc.rb, line 189 def content_to_html RTFDoc.markdown_to_html(@content) end
example_to_html()
click to toggle source
# File lib/rtfdoc.rb, line 193 def example_to_html @example ? RTFDoc.markdown_to_html(@example) : nil end