Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/omf-web/widget/text/maruku/output/to_html.rb
Instance Method Summary collapse
-
#to_html ⇒ Object
A string is rendered into HTML by creating a REXML::Text node.
Instance Method Details
#to_html ⇒ Object
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 |