Class: HoboFields::RawMarkdownString

Inherits:
Text
  • Object
show all
Defined in:
lib/hobo_fields/raw_markdown_string.rb

Direct Known Subclasses

MarkdownString

Constant Summary

Constants inherited from Text

Text::COLUMN_TYPE, Text::HTML_ESCAPE

Instance Method Summary collapse

Instance Method Details

#to_html(xmldoctype = true) ⇒ Object



7
8
9
# File 'lib/hobo_fields/raw_markdown_string.rb', line 7

def to_html(xmldoctype = true)
  blank? ? "" : BlueCloth.new(self).to_html
end