Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/omf-web/widget/text/maruku/output/to_html.rb

Instance Method Summary collapse

Instance Method Details

#to_htmlObject

A string is rendered into HTML by creating a REXML::Text node. REXML takes care of all the encoding.



34
35
36
# File 'lib/omf-web/widget/text/maruku/output/to_html.rb', line 34

def to_html
  REXML::Text.new(self)
end