Class: HoboFields::Types::RawHtmlString

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

Direct Known Subclasses

HtmlString

Constant Summary

Constants inherited from Text

Text::COLUMN_TYPE

Instance Method Summary collapse

Instance Method Details

#to_html(xmldoctype = true) ⇒ Object



5
6
7
# File 'lib/hobo_fields/types/raw_html_string.rb', line 5

def to_html(xmldoctype = true)
  self.html_safe
end