class SiSU_HTML_Format::FormatStr

Public Class Methods

new(md,str) click to toggle source
# File lib/sisu/html_format.rb, line 1325
def initialize(md,str)
  @str=str
end

Public Instance Methods

bold() click to toggle source
# File lib/sisu/html_format.rb, line 1331
def bold
  %{<p class="bold">#{@str}</p>\n}
end
center() click to toggle source
# File lib/sisu/html_format.rb, line 1328
def center
  %{<p class="center">#{@str}</p>\n}
end
center_bold() click to toggle source
# File lib/sisu/html_format.rb, line 1334
def center_bold
  %{<p class="centerbold">#{@str}</p>\n}
end
endnote_body() click to toggle source
# File lib/sisu/html_format.rb, line 1337
    def endnote_body
      %{
<p class="endnote">
  #{@str}
</p>
}
    end